'宣言 Public Property ShowErrors As System.Boolean
public System.bool ShowErrors {get; set;}
'宣言 Public Property ShowErrors As System.Boolean
public System.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.