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

TcxCustomRichEdit.CanUndo Property

Returns whether a rich text editor contains changes that can be canceled using the Undo method.

#Declaration

Delphi
property CanUndo: Boolean read;

#Property Value

Type
Boolean

#Remarks

This verification can be made, for example, when menu items that correspond to the undo operation are to be enabled or disabled.

Note that the rich edit control v1.0 supports only single-level undo. If this type of rich editor is used, the CanUndo property always returns True, since performing an undo operation results in the new redo operation.

The rich edit control v2.0 and later provides a multi-level cancel operation (see the RichEditClass property).

See Also