DataGridViewCellStyleContentChangedEventArgsとは? わかりやすく解説

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

DataGridViewCellStyleContentChangedEventArgs クラス

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

CellStyleContentChanged イベントのデータを提供します。

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

Public Class DataGridViewCellStyleContentChangedEventArgs
    Inherits EventArgs
Dim instance As DataGridViewCellStyleContentChangedEventArgs
public class DataGridViewCellStyleContentChangedEventArgs
 : EventArgs
public ref class DataGridViewCellStyleContentChangedEventArgs
 : public EventArgs
public class DataGridViewCellStyleContentChangedEventArgs
 extends EventArgs
public class DataGridViewCellStyleContentChangedEventArgs
 extends EventArgs
解説解説

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

  • DataGridViewCell.Style

  • DataGridViewColumn.DefaultCellStyle

  • DataGridViewRow.DefaultCellStyle

  • DataGridView.RowHeadersDefaultCellStyle

  • DataGridView.RowsDefaultCellStyle

  • DataGridView.ColumnHeadersDefaultCellStyle

  • DataGridView.AlternatingRowsDefaultCellStyle

  • DataGridView.DefaultCellStyle

ただし、これらのプロパティの 1 つが異なる DataGridViewCellStyle オブジェクトに設定されると、対応する PropertyNameChanged イベントは発生しますが、CellStyleContentChanged イベントは発生しません。

CellStyleScope プロパティを使用すると、どのプロパティの DataGridViewCellStyle が変更されたのかを確認できます。CellStyle プロパティを使用すると、更新された値を取得できます。

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

継承階層継承階層
System.Object
   System.EventArgs
    System.Windows.Forms.DataGridViewCellStyleContentChangedEventArgs
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridViewCellStyleContentChangedEventArgs メンバ
System.Windows.Forms 名前空間
DataGridViewCellStyle クラス
DataGridView クラス
DataGridView.CellStyleContentChanged イベント
DataGridView.OnCellStyleContentChanged
DataGridViewCellStyleContentChangedEventHandler
CellStyleScope
CellStyle

DataGridViewCellStyleContentChangedEventArgs プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ CellStyle 変更された DataGridViewCellStyle を取得します。
パブリック プロパティ CellStyleScope 変更されたセル スタイルが影響するスコープを取得します。
参照参照

関連項目

DataGridViewCellStyleContentChangedEventArgs クラス
System.Windows.Forms 名前空間
DataGridViewCellStyle クラス
DataGridView クラス
DataGridView.CellStyleContentChanged イベント
DataGridView.OnCellStyleContentChanged
DataGridViewCellStyleContentChangedEventHandler
CellStyleScope
CellStyle

DataGridViewCellStyleContentChangedEventArgs メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

DataGridViewCellStyleContentChangedEventArgs クラス
System.Windows.Forms 名前空間
DataGridViewCellStyle クラス
DataGridView クラス
DataGridView.CellStyleContentChanged イベント
DataGridView.OnCellStyleContentChanged
DataGridViewCellStyleContentChangedEventHandler
CellStyleScope
CellStyle

DataGridViewCellStyleContentChangedEventArgs メンバ

CellStyleContentChanged イベントのデータを提供します。

DataGridViewCellStyleContentChangedEventArgs データ型で公開されるメンバを以下の表に示します。


パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ CellStyle 変更された DataGridViewCellStyle を取得します。
パブリック プロパティ CellStyleScope 変更されたセル スタイルが影響するスコープを取得します。
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

DataGridViewCellStyleContentChangedEventArgs クラス
System.Windows.Forms 名前空間
DataGridViewCellStyle クラス
DataGridView クラス
DataGridView.CellStyleContentChanged イベント
DataGridView.OnCellStyleContentChanged
DataGridViewCellStyleContentChangedEventHandler
CellStyleScope
CellStyle


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

英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「DataGridViewCellStyleContentChangedEventArgs」の関連用語

DataGridViewCellStyleContentChangedEventArgsのお隣キーワード
検索ランキング

   

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



DataGridViewCellStyleContentChangedEventArgsのページの著作権

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

©2026 GRAS Group, Inc.RSS