TextEditSettings.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.Settings
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
If the ValidateOnTextInput property is set to false, the WPF validation mechanism is used. In this instance, to avoid invalid values from posting to a data source, the BaseEdit.EditValue, TextEditBase.Text, and BaseEdit.DisplayText properties are synchronized with the text entered by the user only after this text is validated.
The DataViewBase.EnableImmediatePosting property has no effect on a column if this column editor’s ValidateOnTextInput
property is set to false
.