[]
        
(Showing Draft Content)

FarPoint.Win.Spread.UndoRedo.UndoManager.Redo

Redo Method

Redo()

Redoes the last action undone with Undo and adds it to the undo list.

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

True if successful

Redo(int)

Redoes the specified number of actions and adds them to the undo list.

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

Number of actions to redo, or -1 to redo all pending actions

Returns
Type Description
bool

True if successful

Redo(UndoAction)

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

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

True if successful