DataGridTextColumn.Foreground プロパティ

定義

列内のセルのテキスト コンテンツの描画に使用する Brush を取得または設定します。

public:
 property System::Windows::Media::Brush ^ Foreground { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush Foreground { get; set; }
member this.Foreground : System.Windows.Media.Brush with get, set
Public Property Foreground As Brush

プロパティ値

Brush

列内のセルのコンテンツの描画に使用するブラシ。 登録済みの既定値は ControlTextBrush です。 この値が何に影響されるかについては、DependencyProperty のトピックを参照してください。

注釈

このプロパティは Foreground 、テンプレートがプロパティをパラメーターとして使用する場合にのみ、列内のコントロールのテキストコンテンツのブラシを決定します。

適用対象