DataGridViewCellCommandEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the CellCommandNeeded event of the DataGridView control.
- C#
- VB.NET
public class DataGridViewCellCommandEventArgs : EventArgs
Public Class DataGridViewCellCommandEventArgs
Inherits EventArgs
Constructors
DataGridViewCellCommandEventArgs(columnIndex, rowIndex, command)
Initializes a new instance of the DataGridViewCellValueEventArgs 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. |
| command | ICommand | The current command or null. |
Throws:
- ArgumentOutOfRangeException columnIndex is less than 0; or rowIndex is less than 0.
Properties
ColumnIndex
Int32: Returns a value indicating the column index of the cell that the event occurs for.
Command
ICommand: Returns or sets the command of the cell that the event occurs for.
RowIndex
Int32: Returns a value indicating the row index of the cell that the event occurs for.
Used By
| Name | Description |
|---|---|
| DataGridViewCellCommandEventHandler | Represents the method that will handle the CellCommandNeeded event of a DataGridView. |