Handles undo / redo of programmatic property changes.
Namespace: MindFusion.Diagramming.Commands
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public class ChangeItemCmd : Command |
Visual Basic Copy Code |
---|
Public Class ChangeItemCmd |
You would create an instance of this class in order to enable undo / redo of changes to item's properties. The constructor records the initial state of the item and the Execute method records the final state and adds the ChangeItemCmd object to the undo manager's history.
System.Object
MindFusion.Diagramming.Commands.Command
MindFusion.Diagramming.Commands.ChangeItemCmd