GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoUndoManager Class / Undo Method
In This Topic
    Undo Method (GoUndoManager)
    In This Topic
    Restore the state of some documents to before the current IGoUndoableEdit.
    Syntax
    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