SystemColors Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Contains system colors, system brushes, and system resource keys that correspond to system display elements.
Inheritance Hierarchy
System.Object
System.Windows.SystemColors
Namespace: System.Windows
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public NotInheritable Class SystemColors
public static class SystemColors
The SystemColors type exposes the following members.
Properties
Name | Description | |
---|---|---|
ActiveBorderColor | Gets a Color structure that is the color of the active window's border. | |
ActiveCaptionColor | Gets a Color structure that is the background color of the active window's title bar. | |
ActiveCaptionTextColor | Gets a Color structure that is the color of the text in the active window's title bar. | |
AppWorkspaceColor | Gets a Color structure that is the color of the application workspace. | |
ControlColor | Gets a Color structure that is the face color of a three-dimensional display element. | |
ControlDarkColor | Gets a Color structure that is the shadow color of a three-dimensional display element. | |
ControlDarkDarkColor | Gets a Color structure that is the dark shadow color of a three-dimensional display element. | |
ControlLightColor | Gets a Color structure that is the light color of a three-dimensional display element. | |
ControlLightLightColor | Gets a Color structure that is the highlight color of a three-dimensional display element. | |
ControlTextColor | Gets a Color structure that is the color of text in a three-dimensional display element. | |
DesktopColor | Gets a Color structure that is the color of the desktop. | |
GrayTextColor | Gets a Color structure that is the color of disabled text. | |
HighlightColor | Gets a Color structure that is the background color of selected items. | |
HighlightTextColor | Gets a Color structure that is the color of the text of selected items. | |
InactiveBorderColor | Gets a Color structure that is the color of an inactive window's border. | |
InactiveCaptionColor | Gets a Color structure that is the background color of an inactive window's title bar. | |
InactiveCaptionTextColor | Gets a Color structure that is the color of the text of an inactive window's title bar. | |
InfoColor | Gets a Color structure that is the background color for the ToolTip control. | |
InfoTextColor | Gets a Color structure that is the text color for the ToolTip control. | |
MenuColor | Gets a Color structure that is the color of a menu's background. | |
MenuTextColor | Gets a Color structure that is the color of a menu's text. | |
ScrollBarColor | Gets a Color structure that is the background color of a scroll bar. | |
WindowColor | Gets a Color structure that is the background color in the client area of a window. | |
WindowFrameColor | Gets a Color structure that is the color of a window frame. | |
WindowTextColor | Gets a Color structure that is the color of the text in the client area of a window. |
Top
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.