Creates an item state corresponding to the concrete type of this item.
Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling
C# Copy Code |
---|
protected virtual ItemState CreateState () |
Visual Basic Copy Code |
---|
Protected Overridable Function CreateState () As ItemState |
An instance of ItemState or a derived class.
This method is used by the undo/redo system to create an ItemState-derived object that corresponds to the item class. Custom item classes must override CreateState in order to implement undo/redo support for any additional members they define. This method should be overridden together with SaveState and RestoreState.
Scheduling for .NET MAUI Guide | © 2023 MindFusion |