DataViewBase.ErrorsWatchMode Property

Gets or sets which type of errors the grid control should detect during the initial data loading.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.Core.dll

Declaration

public ErrorsWatchMode ErrorsWatchMode { get; set; }
Public Property ErrorsWatchMode As ErrorsWatchMode

Property Value

Type Description
ErrorsWatchMode

One of the ErrorsWatchMode enumeration values that is an error watch mode.

Remarks

Use the ErrorsWatchMode property to make the GridControl detect errors in its data.

When the ErrorsWatchMode property is set to Rows or Cells, the GridControl detects invalid rows or cells respectively. When the ErrorsWatchMode property is set to All, both invalid rows and cells are detected.

To disable the errors watching mechanism, set the ErrorsWatchMode property to None.

NOTE

When the ErrorsWatchMode property is set to All, Cell, or Row, the GridControl revalidates its data during the initial loading that can significantly decrease the control's performance.

See Also