次の方法で共有


SystemColors.GradientInactiveCaptionBrushKey プロパティ

定義

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

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

プロパティ値

非アクティブなウィンドウのタイトル バーの背景を描画するために使用する SolidColorBrush のリソース キー。 このブラシの IsFrozen プロパティは trueされているため、変更できません。

注釈

GradientInactiveCaptionBrushKeyを使用して動的参照を作成します。 ブラシが変更されると、この動的参照が自動的に更新されます。 自動的に更新されない静的参照を作成するには、 GradientInactiveCaptionBrushを使用します。

XAML 属性の使用法

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

XAML 値

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

適用対象

こちらもご覧ください