DataGridViewCell.OnContentClick(DataGridViewCellEventArgs) メソッド

定義

セルの内容がクリックされたときに呼び出されます。

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

パラメーター

e
DataGridViewCellEventArgs

イベント データを格納している DataGridViewCellEventArgs

注釈

このメソッドは、 メソッドに DataGridView.OnCellContentClick 似ています。 イベントが発生した DataGridView.CellContentClick のと同じ状況で呼び出されますが、実際にはイベントは発生しません。

適用対象

こちらもご覧ください