ComponentOne FlexGrid for WinForms
ShowErrors Property

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : ShowErrors Property
Gets or sets whether the grid should display error information in cells and rows.
Public Property ShowErrors As Boolean
public bool ShowErrors {get; set;}

Setting this property to true causes the grid to display error information in cells and rows. Error information is displayed as error icons in the cells or row headers. Moving the mouse over the error icons show tooltips containing an error description.

The error information may be supplied directly by data sources that implement the System.ComponentModel.IDataErrorInfo interface (for example, the DataTable class implements this interface).

If the grid is bound to a data source that doesn't support System.ComponentModel.IDataErrorInfo, you can provide error information using the GetCellErrorInfo and GetRowErrorInfo events.

See Also


C1FlexGridBase Class
C1FlexGridBase Members