The following tables list the members exposed by ActionHistory.
Name | Description | |
---|---|---|
NoUndoAction | Represents an undo action for an action that cannot be undone. |
Name | Description | |
---|---|---|
IsPerformingAction | Returns a boolean indicating if the history is currently performing an action. |
Name | Description | |
---|---|---|
MaxUndoDepth | The maximum number of undo items to maintain. | |
RedoContext | The context to use when performing a redo action. | |
UndoContext | The content to use when performing an undo action. |
Name | Description | |
---|---|---|
CanRedo | Determines if there is an entry in the redo stack that can be performed. | |
CanUndo | Determines if there is an entry in the undo stack that can be performed. | |
Clear | Clears all the undo and redo actions. | |
ClearRedo | Removes any redo actions. | |
PerformAction | Performs the specified action and adds the resulting undo action into the undo history. | |
Redo | Performs a single redo operation. | |
Undo | Performs a single undo operation. |
Name | Description | |
---|---|---|
AddRedoAction | Adds an action to the redo history. | |
AddUndoAction | Adds an action to the undo history. | |
GetRedoEnumerator | Returns an enumerator used to iterate the actions on the undo stack. | |
GetUndoEnumerator | Returns an enumerator used to iterate the actions on the undo stack. | |
OnMaxUndoDepthChanged | Invoked when the MaxUndoDepth has been changed. | |
PeekRedo | Returns the action that will be performed if the Redo method is invoked. | |
PeekUndo | Returns the action that will be performed if the Undo method is invoked. |