[]
Undoes the last action done with PerformUndoAction and adds it to the redo list.
public bool Undo()
Public Function Undo() As Boolean
Type | Description |
---|---|
bool | A boolean value indicate commands are undo success or not. |
Undoes the specified number of actions and adds them to the redo list.
public bool Undo(int count)
Public Function Undo(count As Integer) As Boolean
Type | Name | Description |
---|---|---|
int | count | Number of actions to undo, or -1 to undo all actions |
Type | Description |
---|---|
bool | Boolean: true if successful; false otherwise |
Undoes all actions in the undo stack up to and including the specified action and adds it to the redo list.
public bool Undo(UndoAction action)
Public Function Undo(action As UndoAction) As Boolean
Type | Name | Description |
---|---|---|
UndoAction | action | UndoAction to undo |
Type | Description |
---|---|
bool | A boolean value indicate commands are undo success or not. |