通过


SystemColors.GradientInactiveCaptionBrushKey 属性

定义

获取ResourceKeySolidColorBrush作为非活动窗口标题栏渐变右侧的颜色。

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,因此无法对其进行修改。

注解

使用 创建动态引用。 如果更改画笔,此动态引用将自动更新。 若要创建不自动更新的静态引用,请使用 GradientInactiveCaptionBrush

XAML 属性用法

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

XAML 值

x:Staticx:Static Markup Extension

适用于

另请参阅