Creates an AddItemCmd instance that implements undo/redo of adding an item to the diagram.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
protected virtual AddItemCmd CreateAddItemCmd ( |
Visual Basic Copy Code |
---|
Protected Overridable Function CreateAddItemCmd( _ |
The item being added to the diagram.
An instance of AddItemCmd or derived class.
You can override this method to return a custom command that stores additional information about the added item, or handles the addition of more than one items.