Saves the state of this tree item.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C#
![]() |
---|
protected TreeViewItemState SaveState () |
Visual Basic
![]() |
---|
Protected Function SaveState () As TreeViewItemState |
A TreeViewItemState 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.