Skip to main content

TcxCustomEditProperties.ValidateOnEnter Property

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

Declaration

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