GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / Undo Method
In This Topic
    Undo Method (GoDocument)
    In This Topic
    Call the UndoManager's Undo method if CanUndo is true.
    Syntax
    public virtual void Undo()
    Remarks
    GoUndoManager.Undo will raise a Changed event with a hint of StartingUndo before actually performing the undo, and will raise a Changed event with a hint of FinishedUndo afterwards. The GoChangedEventArgs.Object is the GoUndoManagerCompoundEdit that was the value of GoUndoManager.GoUndoManager.EditToUndo before calling Undo.
    See Also