Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.UndoRedo Namespace / UndoManager Class / PushUndo Method
Undo action
True to clear the redo stack (action is being performed), false otherwise (action is being undone)


In This Topic
    PushUndo Method (UndoManager)
    In This Topic
    Pushes the specified action onto the undo stack.
    Syntax
    'Declaration
     
    
    Protected Sub PushUndo( _
       ByVal action As UndoAction, _
       ByVal clearRedo As Boolean _
    ) 
    'Usage
     
    
    Dim instance As UndoManager
    Dim action As UndoAction
    Dim clearRedo As Boolean
     
    instance.PushUndo(action, clearRedo)
    protected void PushUndo( 
       UndoAction action,
       bool clearRedo
    )

    Parameters

    action
    Undo action
    clearRedo
    True to clear the redo stack (action is being performed), false otherwise (action is being undone)
    See Also