SystemColors.WindowFrameColorKey Property

Definition

Gets the ResourceKey for the Color of a window frame.

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

Property Value

The resource key for the Color of a window frame.

Remarks

Use the WindowFrameColorKey to create a dynamic reference to the window frame system color. This dynamic reference will automatically update if the color is changed. To create a static reference that does not update automatically, use WindowFrameColor.

XAML Attribute Usage

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

XAML Values

x:Static
The x:Static Markup Extension.

Applies to

See also