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

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

DataGridViewCell.LeaveUnsharesRow メソッド

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

フォーカスが行セル離れたときに、その行を非共有にするかどうか示します

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

Protected Overridable Function
 LeaveUnsharesRow ( _
    rowIndex As Integer, _
    throughMouseClick As Boolean _
) As Boolean
Dim rowIndex As Integer
Dim throughMouseClick As Boolean
Dim returnValue As Boolean

returnValue = Me.LeaveUnsharesRow(rowIndex, throughMouseClick)
protected virtual bool LeaveUnsharesRow (
    int rowIndex,
    bool throughMouseClick
)
protected:
virtual bool LeaveUnsharesRow (
    int rowIndex, 
    bool throughMouseClick
)
protected boolean LeaveUnsharesRow (
    int rowIndex, 
    boolean throughMouseClick
)
protected function LeaveUnsharesRow (
    rowIndex : int, 
    throughMouseClick : boolean
) : boolean

パラメータ

rowIndex

セルの親行のインデックス

throughMouseClick

ユーザー操作によってフォーカスセル移動した場合trueプログラム操作によってフォーカスセル移動した場合false

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

解説解説

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

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

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からDataGridViewCell.LeaveUnsharesRow メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からDataGridViewCell.LeaveUnsharesRow メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からDataGridViewCell.LeaveUnsharesRow メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

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

   

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



DataGridViewCell.LeaveUnsharesRow メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS