DataGridView.CellStyleContentChanged イベント
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Dim instance As DataGridView Dim handler As DataGridViewCellStyleContentChangedEventHandler AddHandler instance.CellStyleContentChanged, handler
public: event DataGridViewCellStyleContentChangedEventHandler^ CellStyleContentChanged { void add (DataGridViewCellStyleContentChangedEventHandler^ value); void remove (DataGridViewCellStyleContentChangedEventHandler^ value); }

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 など)。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


DataGridView クラス
DataGridView メンバ
System.Windows.Forms 名前空間
DataGridViewCellStyle
DataGridViewCellStyleContentChangedEventHandler
DataGridViewCellStyleContentChangedEventArgs
DataGridView.OnCellStyleContentChanged
その他の技術情報
Windows フォーム DataGridView コントロールでのセルのスタイル
DataGridView コントロール (Windows フォーム)
Weblioに収録されているすべての辞書からDataGridView.CellStyleContentChanged イベントを検索する場合は、下記のリンクをクリックしてください。

- DataGridView.CellStyleContentChanged イベントのページへのリンク