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

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

DataGridViewButtonCell.KeyUpUnsharesRow メソッド

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

行のセルにフォーカスがあるときに、キーを離した場合、その行の共有を解除するかどうかを示します。

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

Protected Overrides Function
 KeyUpUnsharesRow ( _
    e As KeyEventArgs, _
    rowIndex As Integer _
) As Boolean
Dim e As KeyEventArgs
Dim rowIndex As Integer
Dim returnValue As Boolean

returnValue = Me.KeyUpUnsharesRow(e, rowIndex)
protected override bool KeyUpUnsharesRow (
    KeyEventArgs e,
    int rowIndex
)
protected:
virtual bool KeyUpUnsharesRow (
    KeyEventArgs^ e, 
    int rowIndex
) override
protected boolean KeyUpUnsharesRow (
    KeyEventArgs e, 
    int rowIndex
)
protected override function KeyUpUnsharesRow
 (
    e : KeyEventArgs, 
    rowIndex : int
) : boolean

パラメータ

e

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

rowIndex

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

戻り値
ユーザーが Space キーを離した場合、true。それ以外の場合は false。

解説解説

KeyUpUnsharesRow メソッドは、OnKeyUp メソッドの直前に呼び出されます。同じ KeyEventArgs 引数を使用した OnKeyUp の呼び出しによって行 rowIndex の共有が解除される場合は、true を返します。それ以外の場合は、false を返します。

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

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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



DataGridViewButtonCell.KeyUpUnsharesRow メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS