Skip to main content

ColumnBase.ShowValidationAttributeErrors Property

Gets or sets whether or not error icons are displayed within column cells that fail validation specified by the Data Annotations attribute(s). This is a dependency property.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(true)]
public bool ShowValidationAttributeErrors { get; set; }

Property Value

Type
Boolean

Remarks

The Grid Control supports DataAnnotations attributes that specify data validation rules (to use data annotation attributes, reference the System.ComponentModel.DataAnnotations assembly).

By default, the Grid displays error icons within cells with invalid values. In this instance, if the DataControlBase.AllowCommitOnValidationAttributeError property is set to false, the cell focus cannot be moved to another cell until the cell’s value is corrected.

See Also