UndoManager Members

Provides the functionality for undo and redo operations.

The UndoManager type exposes the following members.

Constructors

  Name Description
Public method UndoManager Overloaded.

Top

Methods

  Name Description
Public method AddCanUndoRedoCallback
Public method AddUndoableAction
Public method Dispose
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize (Overrides Object.Finalize().)
Public method Flush
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Redo Overloaded.
Public method RedoAllPossible
Public method RemoveCanUndoRedoCallback
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method Undo Overloaded.
Public method UndoAllPossible

Top

Properties

  Name Description
Protected property CanUndoRedoCallbackCollection
Public property Context
Public property InRedo
Public property InUndo
Public property MaxUndoableTransactions
Public property RedoableTransactions
Public property RedoCount
Public property Store
Public property TopmostUndoableTransaction
Public property UndoableTransactions
Public property UndoCount
Public property UndoState

Top

Events

  Name Description
Public event UndoItemAdded
Public event UndoItemDiscarded
Public event UndoStackFlushed

Top

See Also

Reference

UndoManager Class

Microsoft.VisualStudio.Modeling Namespace