FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / ShowErrors Property

In This Topic
    ShowErrors Property (C1FlexGridBase)
    In This Topic
    Gets or sets whether the grid should display error information in cells and rows.
    Syntax
    'Declaration
     
    
    Public Property ShowErrors As Boolean
    public bool ShowErrors {get; set;}
    Remarks

    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