SystemColors Class

July 28, 2014

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

System.Object
  System.Windows.SystemColors

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

public static class SystemColors

The SystemColors type exposes the following members.

  NameDescription
Public propertyStatic memberActiveBorderColorGets a Color structure that is the color of the active window's border.
Public propertyStatic memberActiveCaptionColorGets a Color structure that is the background color of the active window's title bar.
Public propertyStatic memberActiveCaptionTextColorGets a Color structure that is the color of the text in the active window's title bar.
Public propertyStatic memberAppWorkspaceColorGets a Color structure that is the color of the application workspace.
Public propertyStatic memberControlColorGets a Color structure that is the face color of a three-dimensional display element.
Public propertyStatic memberControlDarkColorGets a Color structure that is the shadow color of a three-dimensional display element.
Public propertyStatic memberControlDarkDarkColorGets a Color structure that is the dark shadow color of a three-dimensional display element.
Public propertyStatic memberControlLightColorGets a Color structure that is the light color of a three-dimensional display element.
Public propertyStatic memberControlLightLightColorGets a Color structure that is the highlight color of a three-dimensional display element.
Public propertyStatic memberControlTextColorGets a Color structure that is the color of text in a three-dimensional display element.
Public propertyStatic memberDesktopColorGets a Color structure that is the color of the desktop.
Public propertyStatic memberGrayTextColorGets a Color structure that is the color of disabled text.
Public propertyStatic memberHighlightColorGets a Color structure that is the background color of selected items.
Public propertyStatic memberHighlightTextColorGets a Color structure that is the color of the text of selected items.
Public propertyStatic memberInactiveBorderColorGets a Color structure that is the color of an inactive window's border.
Public propertyStatic memberInactiveCaptionColorGets a Color structure that is the background color of an inactive window's title bar.
Public propertyStatic memberInactiveCaptionTextColorGets a Color structure that is the color of the text of an inactive window's title bar.
Public propertyStatic memberInfoColorGets a Color structure that is the background color for the ToolTip control.
Public propertyStatic memberInfoTextColorGets a Color structure that is the text color for the ToolTip control.
Public propertyStatic memberMenuColorGets a Color structure that is the color of a menu's background.
Public propertyStatic memberMenuTextColorGets a Color structure that is the color of a menu's text.
Public propertyStatic memberScrollBarColorGets a Color structure that is the background color of a scroll bar.
Public propertyStatic memberWindowColorGets a Color structure that is the background color in the client area of a window.
Public propertyStatic memberWindowFrameColorGets a Color structure that is the color of a window frame.
Public propertyStatic memberWindowTextColorGets a Color structure that is the color of the text in the client area of a window.
Top

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

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

Show:
© 2014 Microsoft