DataGridViewCell.OnContentDoubleClick(DataGridViewCellEventArgs) DataGridViewCell.OnContentDoubleClick(DataGridViewCellEventArgs) DataGridViewCell.OnContentDoubleClick(DataGridViewCellEventArgs) DataGridViewCell.OnContentDoubleClick(DataGridViewCellEventArgs) Method

定义

在双击单元格的内容时进行调用。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)

参数

注解

此方法是类似于DataGridView.OnCellContentDoubleClick方法。This method is similar to the DataGridView.OnCellContentDoubleClick method. 在同一环境中调用DataGridView.CellContentDoubleClick引发事件,但不会实际引发该事件。It is called in the same circumstances in which a DataGridView.CellContentDoubleClick event is raised, but it does not actually raise the event.

适用于

另请参阅