DataGridViewCellEventArgs(Int32, Int32) Constructeur

Définition

Initialise une nouvelle instance de la classe 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)

Paramètres

columnIndex
Int32

Index de la colonne contenant la cellule sur laquelle l'événement se produit.

rowIndex
Int32

Index de la ligne contenant la cellule pour laquelle l'événement se produit.

Exceptions

columnIndex est inférieur à -1.

  • ou - rowIndex est inférieur à -1.

S’applique à

Voir aussi