Skip to main content

BaseEdit.ValidateOnTextInput Property

Gets or sets whether the edit value should be validated while typing within the editor's text box. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public bool ValidateOnTextInput { get; set; }

#Property Value

Type Description
Boolean

true to validate the edit value while an end-user types text within the editor's text box; otherwise, false.

#Remarks

If the ValidateOnTextInput property is set to true and an end-user changes text within the editor, the editor fires the BaseEdit.Validate event on each change, allowing you to validate a new value.

The BaseEdit.Validate event isn't raised if the editor's BaseEdit.CausesValidation property is set to false.

To specify whether the editor's value should be validated after the ENTER key has been pressed, use the BaseEdit.ValidateOnEnterKeyPressed property.

See Also