Επεξεργασία

Κοινή χρήση μέσω


SystemColors.InactiveCaptionBrushKey Property

Definition

Gets the ResourceKey for the SolidColorBrush that paints the background of an inactive window's title bar.

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

Property Value

The resource key for the SolidColorBrush that paints the background of an inactive window's title bar. This brush's IsFrozen property is true, so it cannot be modified.

Remarks

Use the InactiveCaptionBrushKey to create a dynamic reference that paints the background of an inactive window's title bar. This dynamic reference will automatically update if the brush is changed. To create a static reference that does not update automatically, use InactiveCaptionBrush.

XAML Attribute Usage

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

XAML Values

x:Static
The x:Static Markup Extension.

Applies to

See also