FlexGrid for WinForms
ShowErrors Property



Gets or sets whether the grid should display error information in cells and rows.
Syntax
'Declaration
 
<C1DescriptionAttribute("Gets or sets whether the grid should display error information in cells and rows.")>
<DefaultValueAttribute()>
<C1CategoryAttribute("Data")>
Public Property ShowErrors As Boolean
'Usage
 
Dim instance As C1FlexGridBase
Dim value As Boolean
 
instance.ShowErrors = value
 
value = instance.ShowErrors
[C1Description("Gets or sets whether the grid should display error information in cells and rows.")]
[DefaultValue()]
[C1Category("Data")]
public bool ShowErrors {get; set;}
[C1Description("Gets or sets whether the grid should display error information in cells and rows.")]
[DefaultValue()]
[C1Category("Data")]
public:
property bool ShowErrors {
   bool get();
   void set (    bool value);
}
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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback