Contains a snapshot of the internal state of a DiagramNode.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public class DiagramNodeState : DiagramItemState |
Visual Basic Copy Code |
---|
Public Class DiagramNodeState |
Instances of this class are used to store the state of nodes for later undo or redo operations. If you derive from DiagramNode and need to implement undo support for the additional internal state defined by your class, do so by deriving from DiagramNodeState and overriding the DiagramNode.CreateState, DiagramNode.SaveState and DiagramNode.RestoreState methods.
System.Object
MindFusion.Diagramming.DiagramItemState
MindFusion.Diagramming.DiagramNodeState
MindFusion.Diagramming.ShapeNodeState