Spread Windows Forms 12.0 Product Documentation
PushUndo Method (UndoManager)


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)
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

Reference

UndoManager Class
UndoManager Members