Version

UndoManager Class Methods

For a list of all members of this type, see UndoManager members.

Public Methods
 NameDescription
Public MethodAddChangeOverloaded. Adds an UndoUnit to the history.  
Public MethodAddCollectionChangeOverloaded. Adds an UndoUnit for the specified replace collection change to the undo history.  
Public MethodAddPropertyChangeOverloaded. Adds an PropertyChangeUndoUnitBase for the specified property value change to the undo history.  
Public MethodClearHistoryClears the undo and redo history.  
Public MethodExecuteInTransactionOverloaded. Executes the specified action within an UndoTransaction  
Public MethodForEachPerforms the specified action on each UndoUnit within the undo and redo history.  
Public Methodstatic (Shared in Visual Basic)FromReferenceUsed to obtain the UndoManager instance that has been registered with a given object.  
Public MethodPreventMergeUsed to ensure that the next UndoUnit that is recorded is not allowed to merge with the last operation on the UndoHistory.  
Public MethodRedoPerforms one or more redo operations from the current history.  
Public MethodRegisterReferenceUsed to associate an object with a given UndoManager  
Public MethodRemoveAllRemoves all the matching UndoUnit instances from the UndoHistory and RedoHistory collections.  
Public MethodResumeResumes the recording of UndoUnit instances in the history.  
Public MethodStartTransactionOverloaded. Used to start a new transaction that will group one or more UndoUnit actions.  
Public MethodSuspendSuspends the recording of UndoUnit instances in the history.  
Public MethodUndoPerforms one or more undo operations from the current history.  
Public MethodUnregisterReferenceUsed to remove an registration for an object that was registered with this UndoManager instance via the RegisterReference method.  
Protected Methods
 NameDescription
Protected MethodOnFirstListenerAddingVirtual method called when the first listener is being added to the PropertyChanged event. (Inherited from Infragistics.PropertyChangeNotifier)
Protected MethodOnHasListenersChangedVirtual method called when the HasListeners property changes. (Inherited from Infragistics.PropertyChangeNotifier)
Protected MethodOnPropertyChangedUsed to raise the PropertyChanged event for the specified property name. (Inherited from Infragistics.PropertyChangeNotifier)
See Also