Search
Diagram.CreateRemoveItemCmd Method
See Also
 





Creates a RemoveItemCmd instance that implements undo/redo of removing an item from the diagram.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected virtual RemoveItemCmd CreateRemoveItemCmd (
    DiagramItem item
)

Visual Basic  Copy Code

Protected Overridable Function CreateRemoveItemCmd( _
    item As DiagramItem _
) As RemoveItemCmd

 Parameters

item

The item being removed from the diagram.

 Return Value

An instance of RemoveItemCmd or derived class.

 Remarks

You can override this method to return a custom command that stores additional information about the removed item, or handles the removal of more than one items.

 See Also