Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRichEditControlBase.CanUndo Method

Returns a value indicating whether the Undo command is currently available to end-users.

#Declaration

Delphi
function CanUndo: Boolean;

#Returns

Type
Boolean

#Remarks

If this function returns True, an end-user can execute the Undo command; otherwise – False.

The Undo command is available only if all following conditions are met:

  • The action history functionality is enabled;

  • At least a single action is performed within the current document (note that each execution of the Undo command moves an action from the undo to redo action list).

See Also