DataGridViewCell.OnMouseDoubleClick(DataGridViewCellMouseEventArgs) Method

Definition

Called when the user double-clicks a mouse button while the pointer is on a cell.

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

Parameters

Remarks

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

Applies to

See also