[]
        
(Showing Draft Content)

FarPoint.Win.Spread.UndoRedo.UndoManager.Undo

Undo Method

Undo()

Undoes the last action done with PerformUndoAction and adds it to the redo list.

Declaration
public bool Undo()
Public Function Undo() As Boolean
Returns
Type Description
bool

Undo(int)

Undoes the specified number of actions and adds them to the redo list.

Declaration
public bool Undo(int count)
Public Function Undo(count As Integer) As Boolean
Parameters
Type Name Description
int count

Number of actions to undo, or -1 to undo all actions

Returns
Type Description
bool

Boolean: true if successful; false otherwise

Undo(UndoAction)

Undoes all actions in the undo stack up to and including the specified action and adds it to the redo list.

Declaration
public bool Undo(UndoAction action)
Public Function Undo(action As UndoAction) As Boolean
Parameters
Type Name Description
UndoAction action

UndoAction to undo

Returns
Type Description
bool