DataGridViewDataErrorEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Provides data for the DataError event.
- C#
- VB.NET
public class DataGridViewDataErrorEventArgs : DataGridViewCellCancelEventArgs
Public Class DataGridViewDataErrorEventArgs
Inherits DataGridViewCellCancelEventArgs
Constructors
DataGridViewDataErrorEventArgs(exception, columnIndex, rowIndex)
Initializes a new instance of the DataGridViewDataErrorEventArgs class.
| Name | Type | Description |
|---|---|---|
| exception | Exception | The exception that occurred. |
| columnIndex | Int32 | The column index of the cell that raised the DataError. |
| rowIndex | Int32 | The row index of the cell that raised the DataError. |
Properties
Exception
Exception: Returns the exception that represents the error.
ThrowException
Boolean: Returns or sets whether to throw the exception after the DataGridViewDataErrorEventHandler delegate is finished with it.
Throws:
- ArgumentException When setting this property to true, the Exception property value is null.
Used By
| Name | Description |
|---|---|
| DataGridViewDataErrorEventHandler | Represents the method that will handle the DataError event of a DataGridView. |