Modifier

Partager via


DataGridViewCellEventArgs(Int32, Int32) Constructor

Definition

Initializes a new instance of the DataGridViewCellEventArgs class.

public:
 DataGridViewCellEventArgs(int columnIndex, int rowIndex);
public DataGridViewCellEventArgs (int columnIndex, int rowIndex);
new System.Windows.Forms.DataGridViewCellEventArgs : int * int -> System.Windows.Forms.DataGridViewCellEventArgs
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 -1.

-or-

rowIndex is less than -1.

Applies to

See also