A newer version of this page is available. Switch to the current version.

DataViewBase.HasErrors Property

Gets whether there is any error in a grid's view. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll


public bool HasErrors { get; }
Public ReadOnly Property HasErrors As Boolean

Property Value

Type Description

true if there is any error; otherwise, false.


Use the HasErrors property to get whether the view has any validation errors. The HasErrors property works only if the DataViewBase.ErrorsWatchMode property is set to All, Cell, or Row.


Setting the DataViewBase.ErrorsWatchMode property to All, Cell, or Row can significantly decrease the control performance. Refer to the DataViewBase.ErrorsWatchMode property description to learn more.

See Also