Spread Windows Forms 12.0 Product Documentation
SaveUndoState Method (ChildChangeUndoAction)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.UndoRedo Namespace > ChildChangeUndoAction Class : SaveUndoState Method
Saves the undo state before the change.
Syntax
'Declaration
 
Protected Overrides Function SaveUndoState() As Boolean
'Usage
 
Dim instance As ChildChangeUndoAction
Dim value As Boolean
 
value = instance.SaveUndoState()
protected override bool SaveUndoState()

Return Value

Boolean: true if successful; false otherwise
Remarks
This object saves undo state on construction, rather than during PerformUndoAction, since the shape object implements the user interface to make the changes to itself. The SpreadView will call PerformUndoAction when the shape's UIChangeComplete event fires and edit mode is off (if the shape is a cell note).
See Also

Reference

ChildChangeUndoAction Class
ChildChangeUndoAction Members