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

TcxCustomEditProperties.ValidateOnEnter Property

Specifies whether validation is performed when an end-user presses the Enter key.

#Declaration

Delphi
property ValidateOnEnter: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

Set this property to True to allow the editor to call its ValidateEdit method when an end-user presses the Enter key. If the text is validated by this method, it is stored as the edit value. Validation is performed only if the editor’s Properties.CanValidate function returns True.

Use the ValidationOptions property to specify how the editor handles and displays its validation errors.

The default value of the ValidateOnEnter property is False.

See Also