Bagikan melalui


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
Public propertyStatic memberSupported by Silverlight for Windows Phone ActiveBorderColor Gets a Color structure that is the color of the active window's border.
Public propertyStatic memberSupported by Silverlight for Windows Phone ActiveCaptionColor Gets a Color structure that is the background color of the active window's title bar.
Public propertyStatic memberSupported by Silverlight for Windows Phone ActiveCaptionTextColor Gets a Color structure that is the color of the text in the active window's title bar.
Public propertyStatic memberSupported by Silverlight for Windows Phone AppWorkspaceColor Gets a Color structure that is the color of the application workspace.
Public propertyStatic memberSupported by Silverlight for Windows Phone ControlColor Gets a Color structure that is the face color of a three-dimensional display element.
Public propertyStatic memberSupported by Silverlight for Windows Phone ControlDarkColor Gets a Color structure that is the shadow color of a three-dimensional display element.
Public propertyStatic memberSupported by Silverlight for Windows Phone ControlDarkDarkColor Gets a Color structure that is the dark shadow color of a three-dimensional display element.
Public propertyStatic memberSupported by Silverlight for Windows Phone ControlLightColor Gets a Color structure that is the light color of a three-dimensional display element.
Public propertyStatic memberSupported by Silverlight for Windows Phone ControlLightLightColor Gets a Color structure that is the highlight color of a three-dimensional display element.
Public propertyStatic memberSupported by Silverlight for Windows Phone ControlTextColor Gets a Color structure that is the color of text in a three-dimensional display element.
Public propertyStatic memberSupported by Silverlight for Windows Phone DesktopColor Gets a Color structure that is the color of the desktop.
Public propertyStatic memberSupported by Silverlight for Windows Phone GrayTextColor Gets a Color structure that is the color of disabled text.
Public propertyStatic memberSupported by Silverlight for Windows Phone HighlightColor Gets a Color structure that is the background color of selected items.
Public propertyStatic memberSupported by Silverlight for Windows Phone HighlightTextColor Gets a Color structure that is the color of the text of selected items.
Public propertyStatic memberSupported by Silverlight for Windows Phone InactiveBorderColor Gets a Color structure that is the color of an inactive window's border.
Public propertyStatic memberSupported by Silverlight for Windows Phone InactiveCaptionColor Gets a Color structure that is the background color of an inactive window's title bar.
Public propertyStatic memberSupported by Silverlight for Windows Phone InactiveCaptionTextColor Gets a Color structure that is the color of the text of an inactive window's title bar.
Public propertyStatic memberSupported by Silverlight for Windows Phone InfoColor Gets a Color structure that is the background color for the ToolTip control.
Public propertyStatic memberSupported by Silverlight for Windows Phone InfoTextColor Gets a Color structure that is the text color for the ToolTip control.
Public propertyStatic memberSupported by Silverlight for Windows Phone MenuColor Gets a Color structure that is the color of a menu's background.
Public propertyStatic memberSupported by Silverlight for Windows Phone MenuTextColor Gets a Color structure that is the color of a menu's text.
Public propertyStatic memberSupported by Silverlight for Windows Phone ScrollBarColor Gets a Color structure that is the background color of a scroll bar.
Public propertyStatic memberSupported by Silverlight for Windows Phone WindowColor Gets a Color structure that is the background color in the client area of a window.
Public propertyStatic memberSupported by Silverlight for Windows Phone WindowFrameColor Gets a Color structure that is the color of a window frame.
Public propertyStatic memberSupported by Silverlight for Windows Phone 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.

See Also

Reference