MindFusion.Wpf Pack Programmer's Guide
Item.SaveState Method
See Also
 





Saves the state of this item.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

protected virtual ItemState SaveState ()

Visual Basic  Copy Code

Protected Overridable Function SaveState () As ItemState

 Return Value

An ItemState 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

Item Members
Item Class
MindFusion.Scheduling Namespace
CreateState Method
RestoreState Method