Share via


SystemColors.GradientActiveCaptionBrushKey プロパティ

定義

アクティブなウィンドウのタイトル バーのグラデーションの右側の色である SolidColorBrushResourceKey を取得します。

public:
 static property System::Windows::ResourceKey ^ GradientActiveCaptionBrushKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey GradientActiveCaptionBrushKey { get; }
member this.GradientActiveCaptionBrushKey : System.Windows.ResourceKey
Public Shared ReadOnly Property GradientActiveCaptionBrushKey As ResourceKey

プロパティ値

ResourceKey

アクティブなウィンドウのタイトル バーのグラデーションの右側の色である SolidColorBrush のリソース キー。 このブラシの IsFrozen プロパティは true であるため、変更できません。

注釈

GradientActiveCaptionBrushKeyを使用して、アクティブなウィンドウのタイトル バーのグラデーションの右側の色を描画するシステム ブラシへの動的参照を作成します。 ブラシが変更されると、この動的参照が自動的に更新されます。 自動的に更新されない静的参照を作成するには、次を使用します GradientActiveCaptionBrush

XAML 属性の使用方法

<object property="{DynamicResource {x:Static SystemColors.GradientActiveCaptionBrushKey}}"/>  

XAML 値

x:Static
x:Static マークアップ拡張機能

適用対象

こちらもご覧ください