Sdílet prostřednictvím


DataGridViewCellMouseEventArgs Konstruktor

Definice

Inicializuje novou instanci DataGridViewCellMouseEventArgs třídy.

public:
 DataGridViewCellMouseEventArgs(int columnIndex, int rowIndex, int localX, int localY, System::Windows::Forms::MouseEventArgs ^ e);
public DataGridViewCellMouseEventArgs (int columnIndex, int rowIndex, int localX, int localY, System.Windows.Forms.MouseEventArgs e);
public DataGridViewCellMouseEventArgs (int columnIndex, int rowIndex, int localX, int localY, System.Windows.Forms.MouseEventArgs? e);
new System.Windows.Forms.DataGridViewCellMouseEventArgs : int * int * int * int * System.Windows.Forms.MouseEventArgs -> System.Windows.Forms.DataGridViewCellMouseEventArgs
Public Sub New (columnIndex As Integer, rowIndex As Integer, localX As Integer, localY As Integer, e As MouseEventArgs)

Parametry

columnIndex
Int32

Index sloupce buňky je založený na nule.

rowIndex
Int32

Index řádku buňky je založený na nule.

localX
Int32

Souřadnice x myši v pixelech

localY
Int32

Souřadnice y myši v pixelech.

Výjimky

columnIndex je menší než -1.

-nebo-

rowIndex je menší než -1.

Platí pro

Viz také