DataGridViewCell.OnMouseDown(DataGridViewCellMouseEventArgs) Method

Definition

Called when the user holds down a mouse button while the pointer is on a cell.

protected:
 virtual void OnMouseDown(System::Windows::Forms::DataGridViewCellMouseEventArgs ^ e);
protected virtual void OnMouseDown (System.Windows.Forms.DataGridViewCellMouseEventArgs e);
abstract member OnMouseDown : System.Windows.Forms.DataGridViewCellMouseEventArgs -> unit
override this.OnMouseDown : System.Windows.Forms.DataGridViewCellMouseEventArgs -> unit
Protected Overridable Sub OnMouseDown (e As DataGridViewCellMouseEventArgs)

Parameters

Remarks

This method is similar to the DataGridView.OnCellMouseDown method. It is called in the same circumstances in which a DataGridView.CellMouseDown event is raised, but it does not actually raise the event.

Applies to

See also