DataGridViewCell.OnContentDoubleClick(DataGridViewCellEventArgs) 方法

定義

當按兩下儲存格內容時呼叫。

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)

參數

e
DataGridViewCellEventArgs

DataGridViewCellEventArgs,其中包含事件資料。

備註

這個方法類似于 DataGridView.OnCellContentDoubleClick 方法。 它會在引發事件的相同情況下 DataGridView.CellContentDoubleClick 呼叫,但實際上不會引發事件。

適用於

另請參閱