通过


SystemColors.GradientInactiveCaptionColorKey 属性

定义

获取 ResourceKey 非活动窗口标题栏渐变中的右侧 Color

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

属性值

非活动窗口标题栏渐变中右侧 Color 的资源键。

注解

使用此方法 GradientInactiveCaptionColorKey 创建对渐变非活动字幕系统颜色的动态引用。 如果更改颜色,此动态引用将自动更新。 若要创建不自动更新的静态引用,请使用 GradientInactiveCaptionColor

XAML 属性用法

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

XAML 值

x:Staticx:Static Markup Extension

适用于

另请参阅