DataGridViewCellEventArgs(Int32, Int32) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy DataGridViewCellEventArgs.

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)

Parametry

columnIndex
Int32

Indeks kolumny zawierającej komórkę, dla którego występuje zdarzenie.

rowIndex
Int32

Indeks wiersza zawierającego komórkę, dla którego występuje zdarzenie.

Wyjątki

columnIndex wartość jest mniejsza niż -1.

-lub- rowIndex wartość jest mniejsza niż -1.

Dotyczy

Zobacz też