'Declaration
<SRCategoryAttribute("CatBehavior")> <SRDescriptionAttribute("DataGridView_DataErrorDescr")> Public Event DataError As System.Windows.Forms.DataGridViewDataErrorEventHandler
'Usage
Dim instance As NDataGridView Dim handler As System.Windows.Forms.DataGridViewDataErrorEventHandler AddHandler instance.DataError, handler
[SRCategory("CatBehavior")] [SRDescription("DataGridView_DataErrorDescr")] public event System.Windows.Forms.DataGridViewDataErrorEventHandler DataError
Event Data
The event handler receives an argument of type System.Windows.Forms.DataGridViewDataErrorEventArgs containing data related to this event. The following DataGridViewDataErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
ColumnIndex | (Inherited from System.Windows.Forms.DataGridViewCellCancelEventArgs) |
Context | Gets details about the state of the System.Windows.Forms.DataGridView when the error occurred. |
Exception | Gets the exception that represents the error. |
RowIndex | (Inherited from System.Windows.Forms.DataGridViewCellCancelEventArgs) |
ThrowException | Gets or sets a value indicating whether to throw the exception after the System.Windows.Forms.DataGridViewDataErrorEventHandler delegate is finished with it. |
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