DataGridViewRowEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for row-related DataGridView events.
- C#
- VB.NET
public class DataGridViewRowEventArgs : EventArgs
Public Class DataGridViewRowEventArgs
Inherits EventArgs
Constructors
DataGridViewRowEventArgs(dataGrid, rowIndex)
Initializes a new instance of the DataGridViewRowEventArgs class.
| Name | Type | Description |
|---|---|---|
| dataGrid | DataGridView | DataGridView that owns the row. |
| rowIndex | Int32 | The index of the DataGridViewRow that the event occurred for. |
Throws:
- ArgumentNullException dataGrid is null.
- ArgumentOutOfRangeException rowIndex is -1 or greater than the number of rows.
DataGridViewRowEventArgs(row)
Initializes a new instance of the DataGridViewRowEventArgs class.
| Name | Type | Description |
|---|---|---|
| row | DataGridViewRow | The DataGridViewRow that the event occurred for. |
Throws:
- ArgumentNullException row is null.
Properties
Row
DataGridViewRow: Returns the DataGridViewRow associated with the event.
RowIndex
Int32: Returns a value indicating the row index of the cell that the event occurs for.
Used By
| Name | Description |
|---|---|
| DataGridViewRowEventHandler | Represents the method that will handle row-related events of a DataGridView. |