DiagramLite Programmer's Guide
TreeViewItem.SaveState Method
See Also
 





Saves the state of this tree item.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

protected TreeViewItemState SaveState ()

Visual Basic  Copy Code

Protected Function SaveState () As TreeViewItemState

 Return Value

A TreeViewItemState that represents the current state of the item.

 Remarks

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.

 See Also

TreeViewItem Members
TreeViewItem Class
MindFusion.Diagramming Namespace