DXValidationProvider.ValidateHiddenControls Property

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

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(true)]
public bool ValidateHiddenControls { get; set; }
<DXCategory("Behavior")>
<DefaultValue(True)>
Public Property ValidateHiddenControls As Boolean

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