DataGridViewCell.MouseClickUnsharesRow メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataGridViewCell.MouseClickUnsharesRow メソッドの意味・解説 

DataGridViewCell.MouseClickUnsharesRow メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

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

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Protected Overridable Function
 MouseClickUnsharesRow ( _
    e As DataGridViewCellMouseEventArgs _
) As Boolean
Dim e As DataGridViewCellMouseEventArgs
Dim returnValue As Boolean

returnValue = Me.MouseClickUnsharesRow(e)
protected virtual bool MouseClickUnsharesRow
 (
    DataGridViewCellMouseEventArgs e
)
protected:
virtual bool MouseClickUnsharesRow (
    DataGridViewCellMouseEventArgs^ e
)
protected boolean MouseClickUnsharesRow (
    DataGridViewCellMouseEventArgs e
)
protected function MouseClickUnsharesRow (
    e : DataGridViewCellMouseEventArgs
) : boolean

パラメータ

e

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

戻り値
行を非共有にする場合は true。それ以外の場合は false。基本クラスの DataGridViewCell は、常に false を返します。

解説解説

MouseClickUnsharesRow メソッドは、OnMouseClick メソッドの直前に呼び出されます。OnMouseClick を呼び出すことによってセルを含む行の共有が解除される場合は、true を返す必要があります。それ以外の場合は、false を返します。

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

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridViewCell クラス
DataGridViewCell メンバ
System.Windows.Forms 名前空間
DataGridView クラス
OnMouseClick
MouseDoubleClickUnsharesRow
MouseDownUnsharesRow
MouseEnterUnsharesRow
MouseLeaveUnsharesRow
MouseMoveUnsharesRow
MouseUpUnsharesRow
System.Windows.Forms.DataGridViewCellMouseEventArgs
その他の技術情報
Windows フォーム DataGridView コントロールを拡張するための推奨される手順



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

DataGridViewCell.MouseClickUnsharesRow メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



DataGridViewCell.MouseClickUnsharesRow メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS