DXValidationProvider.Validate() Method
Validates all the editors associated with the DXValidationProvider.
Namespace: DevExpress.XtraEditors.DXErrorProvider
Assembly: DevExpress.XtraEditors.v19.1.dll
Declaration
Returns
Type | Description |
---|---|
Boolean | true if all the editors have been successfully validated; false if one or more editors haven’t been validated. |
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Validate() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.