Skip to main content

DataViewBase.ItemsSourceErrorInfoShowMode Property

Gets or sets data error types displayed by a data-aware control (GridControl, for example). This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public ItemsSourceErrorInfoShowMode ItemsSourceErrorInfoShowMode { get; set; }

Property Value

Type Description
ItemsSourceErrorInfoShowMode

A ItemsSourceErrorInfoShowMode enumeration value that specifies data error types to be visualized.

Available values:

Name Description
RowAndCell

Both row and cell value errors are displayed.

Row

Only row errors are displayed.

Cell

Displays only cell value errors.

None

No error is displayed.

Remarks

Data-aware controls can display two error types – cell value and row errors. The default ItemsSourceErrorInfoShowMode property value (RowAndCell) indicates that both data error types are displayed.

itemssourceerrorinfoshowmode

You can assign one of the following values to the ItemsSourceErrorInfoShowMode property:

Enum value Description
None No error is displayed.
Row Only row errors are displayed.
Cell Only cell value errors are displayed.
RowAndCell Both row and cell value errors are displayed.

To learn more, see Error Notification.

See Also