GoDiagram Web Reference
CanUndo Method (GoUndoManager)

This predicate is true when one can call Undo.
Syntax
'Declaration
 
Public Overridable Function CanUndo() As Boolean
public virtual bool CanUndo()
Remarks
In order to be able to perform an undo, a transaction must not be in progress, nor an undo or a redo. Furthermore there must be an EditToUndo that itself is ready to be undone, because its IGoUndoableEdit.CanUndo predicate is true.
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
Undo Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback