DataGridViewCellMouseEventArgs(Int32, Int32, Int32, Int32, MouseEventArgs) Construtor

Definição

Inicializa uma nova instância da classe DataGridViewCellMouseEventArgs.Initializes a new instance of the DataGridViewCellMouseEventArgs class.

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)

Parâmetros

columnIndex
Int32

O índice da coluna de base zero da célula.The cell's zero-based column index.

rowIndex
Int32

O índice da linha de base zero da célula.The cell's zero-based row index.

localX
Int32

A coordenada X do mouse, em pixels.The x-coordinate of the mouse, in pixels.

localY
Int32

A coordenada y do mouse, em pixels.The y-coordinate of the mouse, in pixels.

e
MouseEventArgs

O MouseEventArgs de origem.The originating MouseEventArgs.

Exceções

columnIndex é menor que -1.columnIndex is less than -1.

- ou --or- rowIndex é menor que -1.rowIndex is less than -1.

Aplica-se a

Veja também