Edit

Kongsi melalui


DataGridViewCell.OnContentDoubleClick(DataGridViewCellEventArgs) Method

Definition

Called when the cell's contents are double-clicked.

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

Parameters

e
DataGridViewCellEventArgs

A DataGridViewCellEventArgs that contains the event data.

Remarks

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

Applies to

See also