Saves the state of this diagram item.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C#
![]() |
---|
public virtual DiagramItemState SaveState () |
Visual Basic
![]() |
---|
Public Overridable Function SaveState () As DiagramItemState |
A DiagramItemState that represents the current state of the item.
This method is used by the undo/redo system to save the state of an item. Custom item classes must override SaveState in order to implement undo/redo support for any additional members they define. This method should be overridden together with CreateState and RestoreState.