GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace
/
GoUndoManager Class
/ Undo Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
Undo Method (GoUndoManager)
In This Topic
Restore the state of some documents to before the current
IGoUndoableEdit
.
Syntax
C#
public
virtual
void
Undo()
Remarks
This calls
IGoUndoableEdit.Undo
on the current
EditToUndo
. This will raise a
GoDocument.Changed
event with a hint of
GoDocument.StartingUndo
before actually performing the undo, and will raise a Changed event with a hint of
GoDocument.FinishedUndo
afterwards. The
GoChangedEventArgs
.
GoChangedEventArgs.Object
is the
GoUndoManagerCompoundEdit
that was the value of
EditToUndo
before calling Undo.
See Also
Reference
GoUndoManager Class
GoUndoManager Members
CanUndo Method