DataGridView.CellStyleChanged イベントとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataGridView.CellStyleChanged イベントの意味・解説 

DataGridView.CellStyleChanged イベント

メモ : このイベントは、.NET Framework version 2.0 で新しく追加されたものです。

DataGridViewCell の Style プロパティが変更された場合に発生します。

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

Public Event CellStyleChanged As
 DataGridViewCellEventHandler
Dim instance As DataGridView
Dim handler As DataGridViewCellEventHandler

AddHandler instance.CellStyleChanged, handler
public event DataGridViewCellEventHandler CellStyleChanged
public:
event DataGridViewCellEventHandler^ CellStyleChanged {
    void add (DataGridViewCellEventHandler^ value);
    void remove (DataGridViewCellEventHandler^ value);
}
/** @event */
public void add_CellStyleChanged (DataGridViewCellEventHandler
 value)

/** @event */
public void remove_CellStyleChanged (DataGridViewCellEventHandler
 value)
JScript では、イベントは使用できますが、新規に宣言することはできません。
解説解説

このイベントは、DataGridViewCell.Style プロパティによって返される DataGridViewCellStyle のプロパティが新しい値に設定されているか、DataGridViewCell.Style プロパティが新しい DataGridViewCellStyle に設定され、少なくとも 1 つのプロパティ値が前のセル スタイル オブジェクトと異なる場合に発生します。

イベント処理の詳細については、「イベントの利用」を参照してください。

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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

DataGridView.CellStyleChanged イベントのお隣キーワード
検索ランキング

   

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



DataGridView.CellStyleChanged イベントのページの著作権

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

©2026 GRAS Group, Inc.RSS