Handles undo / redo of programmatic property changes.
Namespace: MindFusion.Diagramming.Commands
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public class ChangeItemCmd : Command |
Visual Basic
![]() |
---|
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.
C#
![]() |
---|
// Save item state |
Visual Basic
![]() |
---|
' Save item state |
System.Object
MindFusion.Diagramming.Commands.Command
MindFusion.Diagramming.Commands.ChangeItemCmd