DataGridViewCell.MouseDoubleClickUnsharesRow メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
行内のセルをダブルクリックした場合に、その行を非共有にするかどうかを示します。
protected:
virtual bool MouseDoubleClickUnsharesRow(System::Windows::Forms::DataGridViewCellMouseEventArgs ^ e);
protected virtual bool MouseDoubleClickUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e);
abstract member MouseDoubleClickUnsharesRow : System.Windows.Forms.DataGridViewCellMouseEventArgs -> bool
override this.MouseDoubleClickUnsharesRow : System.Windows.Forms.DataGridViewCellMouseEventArgs -> bool
Protected Overridable Function MouseDoubleClickUnsharesRow (e As DataGridViewCellMouseEventArgs) As Boolean
パラメーター
イベント データを格納している DataGridViewCellMouseEventArgs。
戻り値
行を非共有にする場合は true。それ以外の場合は false。 基本クラスの DataGridViewCell は、常に false を返します。
注釈
メソッドは MouseDoubleClickUnsharesRow 、 メソッドの直前に OnMouseDoubleClick 呼び出されます。 の呼び出しOnMouseDoubleClickが、セルを含む行の共有を解除する効果がある場合は、 を返すtrue必要があります。 それ以外の場合は、 を返す false必要があります。
行の共有の詳細については、「Windows フォーム DataGridView コントロールを拡張するための推奨される手順」を参照してください。