SystemColors.ActiveCaptionBrush Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static SolidColorBrush ActiveCaptionBrush { get; }

Property Value

Type: System.Windows.Media.SolidColorBrush

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.

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

.NET Framework
Available since 3.0
Return to top
Show: