DataGridViewCellValueEventArgs(Int32, Int32) Constructor

Definition

Initializes a new instance of the DataGridViewCellValueEventArgs class.

public:
 DataGridViewCellValueEventArgs(int columnIndex, int rowIndex);
public DataGridViewCellValueEventArgs (int columnIndex, int rowIndex);
new System.Windows.Forms.DataGridViewCellValueEventArgs : int * int -> System.Windows.Forms.DataGridViewCellValueEventArgs
Public Sub New (columnIndex As Integer, rowIndex As Integer)

Parameters

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.

Exceptions

columnIndex is less than 0.

-or-

rowIndex is less than 0.

Applies to

See also