[]
Generic Undo/Redo stack.
public class UndoStack
| Name | Description |
|---|---|
| UndoStack() | Initializes a new instance of an UndoStack. |
| Name | Description |
|---|---|
| CanRedo | Gets a value that indicates whether the stack contains actions that can be re-done. |
| CanUndo | Gets a value that indicates whether the stack contains actions that can be undone. |
| Name | Description |
|---|---|
| AddAction(IUndoableAction) | Adds an action to the undo/redo stack. |
| Clear() | Clears the undo/redo stack. |
| OnStateChanged(EventArgs) | Raises the StateChanged event. |
| Redo() | Executes a Redo command. |
| Undo() | Executes an Undo command. |
| Name | Description |
|---|---|
| StateChanged | Occurs when the status of the undo stack changes. |