Search
DiagramItem.Clone Method
See Also
 





Creates a copy of this item.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public virtual DiagramItem Clone (
    bool clipboard
)

Visual Basic  Copy Code

Public Overridable Function Clone( _
    clipboard As Boolean _
) As DiagramItem

 Parameters

clipboard
true if the copy will be stored in the Windows clipboard; otherwise, false.

 Return Value

The copy of this item.

 Remarks

The default implementation of this item invokes the item's class copy constructor through reflection. If your custom type does not provide a copy constructor, you must implement this method to provide for clipboard operations support.

 See Also