UndoManager Methods | 
The UndoManager type exposes the following members.
| Name | Description | |
|---|---|---|
| CanRedo | 
Returns a boolean indicating whether it is possible to redo from the current snapshot.
  | |
| CanUndo | 
Returns whether it is possible to undo from the current snapshot.
  | |
| Close | ||
| DiscardAllSnapshots | 
Forget all changes in this manager (without changing the document).
  | |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type.   (Inherited from Object.) | |
| GetNextRedoSnapshot | 
Gets the next state of the document. This state may be invalid if it is impossible to redo.
  | |
| GetNextUndoSnapshot | 
Gets the previous state of the document. This state may be invalid if it is impossible to undo.
  | |
| GetType | Gets the Type of the current instance.  (Inherited from Object.) | |
| Redo | 
Restores to the next snapshot, if there is one.
  | |
| TakeSnapshot | 
Creates a snapshot of document state, transitions to the new snapshot.
  | |
| ToString | Returns a string that represents the current object.  (Inherited from Object.) | |
| Undo | 
Restores to the previous snapshot point, if there is one.
  |