GoDiagram Win Reference
Undo Method (GoUndoManager)

Restore the state of some documents to before the current IGoUndoableEdit.
Syntax
'Declaration
 
Public Overridable Sub Undo() 
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoUndoManager Class
GoUndoManager Members
CanUndo Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback