Skip to main content
A newer version of this page is available. .

DXValidationProvider.ValidateHiddenControls Property

Gets or sets whether hidden editors are validated when calling the DXValidationProvider.Validate method.

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(true)]
public bool ValidateHiddenControls { get; set; }

Property Value

Type Default Description
Boolean **true**

true if validation of hidden editors is enabled; otherwise, false

Remarks

The DXValidationProvider.Validate method processes all the editors associated with the DXValidationProvider, and performs data validation for each editor using the corresponding validation rule. If the ValidateHiddenControls property is set to false, only visible editors are processed.

See Also