Skip to main content
SystemColors Class
 
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.

Contains system colors, system brushes, and system resource keys that correspond to system display elements.

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

SystemObject
  System.WindowsSystemColors

public static class SystemColors
public ref class SystemColors abstract sealed 
[<AbstractClass>]
[<Sealed>]
type SystemColors = class end
Public NotInheritable Class SystemColors
NameDescription
System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of the active window's border.

System_CAPS_pubproperty System_CAPS_static

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

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of the active window's border.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of the active window's border.

System_CAPS_pubproperty System_CAPS_static

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

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush used to paint the background of the active window's title bar.

System_CAPS_pubproperty System_CAPS_static

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

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the background Color of the active window's title bar.

System_CAPS_pubproperty System_CAPS_static

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

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the text in the active window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of the text in the active window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of the text in the active window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of the application workspace.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the application workspace.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of the application workspace.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of the application workspace.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the face color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the face of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the face color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the face Color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the shadow color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the shadow of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the shadow color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the shadow Color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the dark shadow color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the dark shadow of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the dark shadow color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the dark shadow Color of the highlight color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the light color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the light area of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the light color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the highlight Color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the highlight color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the highlight of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the highlight color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the highlight Color of a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of text in a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints text in a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of text in a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of text in a three-dimensional display element.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of the desktop.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the desktop.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of the desktop.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of the desktop.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the right side color in the gradient of an active window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that is the color of the right side of the gradient of an active window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the right side color in the gradient of an active window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the right-side Color in the gradient of an active window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the right side color in the gradient of an inactive window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that is the color of the right side of the gradient of an inactive window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the right side color in the gradient of an inactive window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the right-side Color in the gradient of an inactive window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of disabled text.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints disabled text.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of disabled text.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of disabled text.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that paints the background of selected items.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the background of selected items.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the background color of selected items.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the background Color of selected items.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of the text of selected items.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the text of selected items.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of the text of selected items.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of a selected item's text.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color used to designate a hot-tracked item.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints hot-tracked items.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color used to designate a hot-tracked item.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color that designates a hot-tracked item.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of an inactive window's border.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the border of an inactive window.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of an inactive window's border.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of an inactive window's border.

System_CAPS_pubproperty System_CAPS_static

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

System_CAPS_pubproperty System_CAPS_static

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

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the background color of an inactive window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the background Color of an inactive window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of the text of an inactive window's title bar.

System_CAPS_pubproperty System_CAPS_static

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

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of the text of an inactive window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of the text of an inactive window's title bar.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color used to highlight a selected item that is inactive.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the background of an inactive selected item.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of an inactive selected item’s text.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints a an inactive selected item’s text.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the background color for the ToolTip control.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the background of the ToolTip control.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the background color for the ToolTip control.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the background Color of the ToolTip control.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the text color for the ToolTip control.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the text in a ToolTip control.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the text color for the ToolTip control.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of the text in a ToolTip control.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the background color for a menu bar.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the background of a menu bar.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the background color for a menu bar.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the background Color of a menu bar.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of a menu's background.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the background of a menu.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of a menu's background.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the background Color of a menu.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color used to highlight a menu item.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints a highlighted menu item.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color used to highlight a menu item.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the background Color of a highlighted menu item.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of a menu's text.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints a menu's text.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of a menu's text.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of a menu's text.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the background color of a scroll bar.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the background of a scroll bar.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the background color of a scroll bar.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the background Color of a scroll bar.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the background color in the client area of a window.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the background of a window's client area.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the background color in the client area of a window.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the background Color of a window's client area.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of a window frame.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints a window frame.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of a window frame.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of a window frame.

System_CAPS_pubproperty System_CAPS_static

Gets a SolidColorBrush that is the color of the text in the client area of a window.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the SolidColorBrush that paints the text in the client area of a window.

System_CAPS_pubproperty System_CAPS_static

Gets a Color structure that is the color of the text in the client area of a window.

System_CAPS_pubproperty System_CAPS_static

Gets the ResourceKey for the Color of text in a window's client area.

You cannot declare this managed class in XAML, but you can use its static properties to assign values in XAML.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top