Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.UndoRedo Namespace / ChildChangeUndoAction Class / SaveUndoState Method


In This Topic
    SaveUndoState Method (ChildChangeUndoAction)
    In This Topic
    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