編輯

共用方式為


SystemColors.GradientInactiveCaptionColorKey Property

Definition

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

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

Property Value

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

Remarks

Use the GradientInactiveCaptionColorKey to create a dynamic reference to the gradient inactive 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 GradientInactiveCaptionColor.

XAML Attribute Usage

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

XAML Values

x:Static
The x:Static Markup Extension.

Applies to

See also