DXValidationProvider.Validate(Control) Method
Validates the specified editor associated with the DXValidationProvider.
Namespace: DevExpress.XtraEditors.DXErrorProvider
Assembly: DevExpress.XtraEditors.v18.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
control | Control | A Control object or descendant that represents the editor to be validated. |
Returns
Type | Description |
---|---|
Boolean | true if the editor has been successfully validated; otherwise false. |
Remarks
By default, automatic checking is disabled. You should manualy invoke the validation mechanism when required. To do this, use the Validate method.
To enable automatic validation, set the DXValidationProvider.ValidationMode property to Auto.
See Also