DataGridViewCellCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the CellBeginEdit and RowValidating events.
- C#
- VB.NET
public class DataGridViewCellCancelEventArgs : CancelEventArgs
Public Class DataGridViewCellCancelEventArgs
Inherits CancelEventArgs
Constructors
DataGridViewCellCancelEventArgs(columnIndex, rowIndex)
Initializes a new instance of the DataGridViewCellCancelEventArgs class.
| Name | Type | Description |
|---|---|---|
| columnIndex | Int32 | The index of the column containing the cell that the event occurs for. |
| rowIndex | Int32 | The index of the row containing the cell that the event occurs for. |
Throws:
- ArgumentOutOfRangeException columnIndex is less than -1; or rowIndex is less than -1.
Properties
ColumnIndex
Int32: Returns the column index of the cell that the event occurs for.
RowIndex
Int32: Returns the row index of the cell that the event occurs for.
Used By
| Name | Description |
|---|---|
| DataGridViewCellCancelEventHandler | Represents the method that will handle the CellBeginEdit and RowValidating events of a DataGridView. |