SystemColors.ActiveBorderBrushKey Property

Definition

Gets the ResourceKey for the SolidColorBrush used to paint the active window's border.

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

Property Value

The resource key for the SolidColorBrush used to paint the active window's border. This brush's IsFrozen property is true, so it cannot be modified.

Remarks

Use the ActiveBorderBrushKey to create a dynamic reference to the active border system brush. This dynamic reference will automatically update if the brush is changed. To create a static reference that does not update automatically, use ActiveBorderBrush.

XAML Attribute Usage

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

XAML Values

x:Static
The x:Static Markup Extension.

Applies to

See also