BaseEdit.CausesValidation Property
In This Article
Gets or sets whether the editor's value is validated before it is accepted. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true to enable the validation; otherwise, false. |
#Remarks
If the CausesValidation property is set to false, the BaseEdit.Validate event is suppressed and the editor's value is not validated.
If the editor's validation is enabled, you can manually force it by calling the BaseEdit.DoValidate method.
To specify when the editor should automatically validate its value, use the BaseEdit.ValidateOnEnterKeyPressed and BaseEdit.ValidateOnTextInput properties.
To learn more, see Input Validation.
See Also