wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-11dd49b9.md
Gets or sets whether the GridControl checks for and reports errors that are raised by a data source that implements INotifyDataErrorInfo.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public bool ValidatesOnNotifyDataErrors { get; set; }
Public Property ValidatesOnNotifyDataErrors As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true , to make the GridControl check for and report errors that are raised by a data source that implements INotifyDataErrorInfo; otherwise, false.
|
Starting from v18.1 , the GridControl checks for and reports errors that are raised by a data source that implements INotifyDataErrorInfo. To disable this validation type, set the ValidatesOnNotifyDataErrors property to false.
When the INotifyDataErrorInfo.GetErrors method returns a collection with multiple values, the GridControl displays the first error from this collection. If this collection contains a custom object, an error tooltip contains a value that the ToString method returns.
See Also