แก้ไข

แชร์ผ่าน


SystemColors.GradientActiveCaptionColorKey Property

Definition

Gets the ResourceKey for the right-side Color in the gradient of an active window's title bar.

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

Property Value

The resource key for the right-side Color in the gradient of an active window's title bar.

Remarks

Use the GradientActiveCaptionColorKey to create a dynamic reference to the gradient active caption system color. This dynamic reference will automatically update if the color is changed. To create a static reference that does not update automatically, use GradientActiveCaptionColor.

XAML Attribute Usage

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

XAML Values

x:Static
The x:Static Markup Extension.

Applies to

See also