Skip to main content

TdxUndoRedoManager.UndoCount Property

Returns the number of available undo operations.

Declaration

property UndoCount: Integer read;

Property Value

Type
Integer

Remarks

The UndoCount property allows you to determine the number of available subsequent calls that can be made to the Undo method.

The CanUndo method checks the UndoCount property for the availability of an undo operation. If at least one undo operation is available, the CanUndo method returns True.

The Clear method clears the UndoCount property.

See Also