Search
DiagramNodeState Class
Remarks See Also
 





Contains a snapshot of the internal state of a DiagramNode.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public class DiagramNodeState : DiagramItemState

Visual Basic  Copy Code

Public Class DiagramNodeState
    Inherits DiagramItemState

 Remarks

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.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.DiagramItemState
        MindFusion.Diagramming.DiagramNodeState
            MindFusion.Diagramming.ShapeNodeState

 See Also