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

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

DataGridView.CellStyleContentChanged イベント

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

セル スタイルの値の 1 つ変更され場合発生します

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

Public Event CellStyleContentChanged As
 DataGridViewCellStyleContentChangedEventHandler
Dim instance As DataGridView
Dim handler As DataGridViewCellStyleContentChangedEventHandler

AddHandler instance.CellStyleContentChanged, handler
public event DataGridViewCellStyleContentChangedEventHandler CellStyleContentChanged
public:
event DataGridViewCellStyleContentChangedEventHandler^ CellStyleContentChanged {
    void add (DataGridViewCellStyleContentChangedEventHandler^
 value);
    void remove (DataGridViewCellStyleContentChangedEventHandler^
 value);
}
/** @event */
public void add_CellStyleContentChanged (DataGridViewCellStyleContentChangedEventHandler
 value)

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

CellStyleContentChanged イベントは、次のプロパティ1 つによって返される DataGridViewCellStyle オブジェクトプロパティ値が変更され場合発生します

  • DataGridViewCell.Style

  • DataGridViewColumn.DefaultCellStyle

  • DataGridViewRow.DefaultCellStyle

  • DataGridView.RowHeadersDefaultCellStyle

  • DataGridView.RowsDefaultCellStyle

  • DataGridView.ColumnHeadersDefaultCellStyle

  • DataGridView.AlternatingRowsDefaultCellStyle

  • DataGridView.DefaultCellStyle

ただし、これらのプロパティ1 つ異なDataGridViewCellStyle設定されている場合対応する PropertyNameChanged イベント発生しますが、CellStyleContentChanged イベント発生しません。

行、列、およびセル プロパティ場合PropertyNameChanged イベントの名前は "Row"、"Column"、または "Cell" で始まります (RowDefaultCellStyleChanged など)。

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

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridView クラス
DataGridView メンバ
System.Windows.Forms 名前空間
DataGridViewCellStyle
DataGridViewCellStyleContentChangedEventHandler
DataGridViewCellStyleContentChangedEventArgs
DataGridView.OnCellStyleContentChanged
その他の技術情報
Windows フォーム DataGridView コントロールでのセルスタイル
DataGridView コントロール (Windows フォーム)


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

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

辞書ショートカット

すべての辞書の索引

「DataGridView.CellStyleContentChanged イベント」の関連用語

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

   

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



DataGridView.CellStyleContentChanged イベントのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS