The following tables list the members exposed by UndoManager.
Name | Description | |
---|---|---|
UndoManager Constructor | Creates a new undo action manager. |
Name | Description | |
---|---|---|
actionCancelled | Specifies whether the pending action has been cancelled. | |
actionIsRedo | Specifies whether actionInProcess is being redone | |
actionIsUndo | Specifies whether actionInProcess is being undone | |
actionPending | Specifies whether an action is in progress (to prevent recursion). | |
maxLength | Specifies the maximum number of UndoAction objects to keep on the undo or redo stacks. | |
mredoList | Specifies the redo stack (last element is on top). | |
mundoList | Specifies the undo stack (last element is on top). | |
spreadView | Specifies the view passed to the constructor. |
Name | Description | |
---|---|---|
CanRedo | Gets whether Redo can redo an action. | |
CanUndo | Gets whether Undo can undo an action. | |
RedoList | Gets the list of UndoAction objects. | |
UndoList | Gets the list of UndoAction objects. |
Name | Description | |
---|---|---|
CancelAction | Cancels the current action in progress. | |
GetActionPending | Gets the current UndoAction pending completion. | |
PerformUndoAction | Performs the specified action (it can then be undone with Undo). | |
Redo | Overloaded. Redoes the last action undone with Undo and adds it to the undo list. | |
Undo | Overloaded. Undoes the last action done with PerformUndoAction and adds it to the redo list. |
Name | Description | |
---|---|---|
PopRedo | Pops the top action from the redo stack. | |
PopUndo | Pops the top action from the undo stack. | |
PushRedo | Pushes the specified action onto the redo stack. | |
PushUndo | Pushes the specified action onto the undo stack. |
Name | Description | |
---|---|---|
ActionComplete | Occurs when the undo or redo action is complete. | |
RedoComplete | Occurs when the redo action is complete. | |
UndoComplete | Occurs when the undo action is complete. |