GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace
/
GoUndoManager Class
/ CanUndo Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
CanUndo Method (GoUndoManager)
In This Topic
This predicate is true when one can call
Undo
.
Syntax
C#
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.
See Also
Reference
GoUndoManager Class
GoUndoManager Members
Undo Method