Skip to main content
A newer version of this page is available. .

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.v18.2.Core.dll

Declaration

public ErrorsWatchMode ErrorsWatchMode { get; set; }

Property Value

Type Description
ErrorsWatchMode

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

Available values:

Name Description
None

Grid View does not detect errors during the initial data load.

Default

The error watch mode is disabled by default for the master grid view; for the detail grid view, the error watch mode depends on the error watch mode for the master view.

Rows

Grid View detects invalid rows.

Cells

Grid View detects invalid cells.

All

Grid View detects invalid rows and cells.

Remarks

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

When the ErrorsWatchMode property is set to Rows or Cells the grid 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 other value than None, the grid control revalidates its data during the initial loading that can significantly decrease the control’s performance.

See Also