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.WinUI.Editors

Assembly: DevExpress.WinUI.Editors.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(true)]
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.

See Also