GoXam for WPF v3
Undo Method (UndoManager)
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
View with Navigation Tools
Northwoods.GoXam.Model Namespace
>
UndoManager Class
: Undo Method
Restore the state of some models to before the current
IUndoableEdit
.
Syntax
C#
public
virtual
void
Undo()
Remarks
This calls
IUndoableEdit.Undo
on the current
EditToUndo
. This will raise a
Changed
event with a hint of
ModelChange.StartingUndo
before actually performing the undo, and will raise a Changed event with a hint of
ModelChange.FinishedUndo
afterwards. The
Data
is the
UndoManager.CompoundEdit
that was the value of
EditToUndo
before calling Undo.
See Also
Reference
UndoManager Class
UndoManager Members
CanUndo Method