DataGridViewButtonCell.MouseUpUnsharesRow メソッド

定義

マウス ポインターを行のセルに置いた状態でマウス ボタンを離したときに、その行の共有を解除するかどうかを示します。

protected:
 override bool MouseUpUnsharesRow(System::Windows::Forms::DataGridViewCellMouseEventArgs ^ e);
protected override bool MouseUpUnsharesRow (System.Windows.Forms.DataGridViewCellMouseEventArgs e);
override this.MouseUpUnsharesRow : System.Windows.Forms.DataGridViewCellMouseEventArgs -> bool
Protected Overrides Function MouseUpUnsharesRow (e As DataGridViewCellMouseEventArgs) As Boolean

パラメーター

e
DataGridViewCellMouseEventArgs

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

戻り値

マウスの左ボタンが離された場合は true、それ以外の場合は false

注釈

メソッドは MouseUpUnsharesRow 、 メソッドの直前に OnMouseUp 呼び出されます。 のOnMouseUp呼び出しが行の共有を解除する効果がある場合は、 を返すtrue必要があります。 それ以外の場合は を返す false 必要があります。

行の共有の詳細については、「Windows フォーム DataGridView コントロールを拡張するための推奨される手順」を参照してください。

適用対象

こちらもご覧ください