Spread Windows Forms 15.0
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / UndoRedoManager 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 (UndoRedoManager)
    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 UndoRedoManager
    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