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

In This Topic
    ShowErrors Property (C1FlexGrid)
    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 C1FlexGridBase.GetCellErrorInfo and C1FlexGridBase.GetRowErrorInfo events.

    See Also