แก้ไข

แชร์ผ่าน


SystemColors.ActiveCaptionBrush Property

Definition

Gets a SolidColorBrush that is the color of the background of the active window's title bar.

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

Property Value

A SolidColorBrush with its Color set to the background color of the active window's title bar. The returned brush's IsFrozen property is true, so it cannot be modified.

Remarks

XAML Attribute Usage

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

XAML Values

X:Static
The x:Static Markup Extension.

Applies to