GoXam for WPF v3
UndoManager Class Members
Properties  Methods 


Northwoods.GoXam.Model Namespace : UndoManager Class

The following tables list the members exposed by UndoManager.

Public Constructors
 NameDescription
Public ConstructorCreate a UndoManager that is ready to record model modifications, but that does not know about any models yet.  
Top
Public Properties
 NameDescription
Public Property Gets or sets whether this undo manager will output warnings to Trace listeners when model changes occur outside of a transaction.  
Public Property Gets a list of all of the compound edits.  
Public Property Gets the current compound edit for recording additional model change events.  
Public PropertyGets the current transaction name given by StartTransaction.  
Public PropertyGets the current IUndoableEdit to be redone, or null if there is none.  
Public PropertyGets the current IUndoableEdit to be undone, or null if there is none.  
Public PropertyThis property is true during a call to Undo or Redo.  
Public Property Gets or sets the maximum number of compound edits that this undo manager will remember.  
Public Property Gets a list of models for which this UndoManager is recording undo/redo information.  
Public Property Gets a stack of ongoing transaction names.  
Public Property Gets the current transaction level.  
Public PropertyGets the index into CompoundEdits for the current undoable edit.  
Top
Public Methods
 NameDescription
Public MethodMake sure this undo manager knows about a IDiagramModel for which it is receiving model Changed event notifications.  
Public MethodThis predicate is true when one can call Redo.  
Public MethodThis predicate is true when one can call Undo.  
Public MethodClear all of the UndoManager.CompoundEdits and reset all other state.  
Public MethodJust call EndTransaction, committing the current transaction, with the presentation name for the transaction.  
Public MethodGiven an IUndoableEdit return an edited object that represents what was modified.  
Public MethodCreate an IUndoableEdit for a Changed event.  
Public MethodRestore the state of some models to after the current IUndoableEdit.  
Public Method Call this method to inform this undo manager that it no longer will be notified of model Changed events.  
Public MethodJust call EndTransaction, rolling back the current transaction.  
Public MethodBegin a transaction, where the changes are held by a UndoManager.CompoundEdit.  
Public Method For debugging.  
Public MethodRestore the state of some models to before the current IUndoableEdit.  
Top
Protected Methods
 NameDescription
Protected MethodThis method is called by EndTransaction when committing a compound edit.  
Protected Method Stop the current transaction, either rolling it back or committing it.  
Protected MethodThis predicate is responsible for deciding if a ModelChangedEventArgs is not interesting enough to be recorded.  
Top
See Also

Reference

UndoManager Class
Northwoods.GoXam.Model Namespace