Skip to main content

DXValidationProvider.ValidateHiddenControls Property

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

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
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