[]
Generic Undo/Redo stack.
public abstract class UndoStack
Name | Description |
---|---|
UndoStack() | Initializes a new instance of an UndoStack. |
Name | Description |
---|---|
CanRedo | Gets a value that indicates whether the stack contains Redo states. |
CanUndo | Gets a value that indicates whether the stack contains Undo states. |
Name | Description |
---|---|
ApplySavedState(object) | Applies a saved state. |
Clear() | Clears the undo/redo stack. |
GetCurrentState() | Gets an object that represents the current state. |
Redo() | Executes a Redo command. |
SaveState() | Saves the current state to the stack. |
Undo() | Executes an Undo command. |