xtd - Reference Guide  0.1.0 Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::drawing::system_colors Class Referencefinal

Each property of the xtd::drawing::system_colors class is a xtd::drawing::Color structure that is the color of a Windows display element. More...

#include <system_colors.h>

Inheritance diagram for xtd::drawing::system_colors:

Static Public Member Functions

static xtd::drawing::color accent ()
Gets a system-defined color that has an ARGB value of 0xFF316AC5. This field is constant. More...

static xtd::drawing::color accent_text ()
Gets a system-defined color that has an ARGB value of 0xFFFFFFFF. This field is constant. More...

static xtd::drawing::color active_border ()
Gets a system-defined color that has an ARGB value of 0xFFD4D0C8. This field is constant. More...

static xtd::drawing::color active_caption ()
Gets a system-defined color that has an ARGB value of 0xFF0054E3. This field is constant. More...

static xtd::drawing::color active_caption_text ()
Gets a system-defined color that has an ARGB value of 0xFFFFFFFF. This field is constant. More...

static xtd::drawing::color app_workspace ()
Gets a system-defined color that has an ARGB value of 0xFF808080. This field is constant. More...

static xtd::drawing::color button_face ()
Gets a system-defined color that has an ARGB value of 0xFFECE9D8. This field is constant. More...

static xtd::drawing::color button_highlight ()
Gets a system-defined color that has an ARGB value of 0xFFFFFFFF. This field is constant. More...

Gets a system-defined color that has an ARGB value of 0xFFACA899. This field is constant. More...

static xtd::drawing::color control ()
Gets a system-defined color that has an ARGB value of 0xFFECE9D8. This field is constant. More...

static xtd::drawing::color control_dark ()
Gets a system-defined color that has an ARGB value of 0xFFACA899. This field is constant. More...

static xtd::drawing::color control_dark_dark ()
Gets a system-defined color that has an ARGB value of 0xFF716F64. This field is constant. More...

static xtd::drawing::color control_light ()
Gets a system-defined color that has an ARGB value of 0xFFF1EFE2. This field is constant. More...

static xtd::drawing::color control_light_light ()
Gets a system-defined color that has an ARGB value of 0xFFFFFFFF. This field is constant. More...

static xtd::drawing::color control_text ()
Gets a system-defined color that has an ARGB value of 0xFF000000. This field is constant. More...

static xtd::drawing::color desktop ()
Gets a system-defined color that has an ARGB value of 0xFF004E98. This field is constant. More...

Gets a system-defined color that has an ARGB value of 0xFF3D95FF. This field is constant. More...

Gets a system-defined color that has an ARGB value of 0xFF9DB9EB. This field is constant. More...

static xtd::drawing::color gray_text ()
Gets a system-defined color that has an ARGB value of 0xFFACA899. This field is constant. More...

static xtd::drawing::color highlight ()
Gets a system-defined color that has an ARGB value of 0xFF316AC5. This field is constant. More...

static xtd::drawing::color highlight_text ()
Gets a system-defined color that has an ARGB value of 0xFFFFFFFF. This field is constant. More...

static xtd::drawing::color hot_track ()
Gets a system-defined color that has an ARGB value of 0xFF000080. This field is constant. More...

static xtd::drawing::color inactive_border ()
Gets a system-defined color that has an ARGB value of 0xFFD4D0C8. This field is constant. More...

static xtd::drawing::color inactive_caption ()
Gets a system-defined color that has an ARGB value of 0xFF7A96DF. This field is constant. More...

static xtd::drawing::color inactive_caption_text ()
Gets a system-defined color that has an ARGB value of 0xFFD8E4F8. This field is constant. More...

static xtd::drawing::color info ()
Gets a system-defined color that has an ARGB value of 0xFFFFFFE1. This field is constant. More...

static xtd::drawing::color info_text ()
Gets a system-defined color that has an ARGB value of 0xFF000000. This field is constant. More...

Gets a system-defined color that has an ARGB value of 0xFFFFFFFF. This field is constant. More...

Gets a system-defined color that has an ARGB value of 0xFFECE9D8. This field is constant. More...

Gets a system-defined color that has an ARGB value of 0xFF316AC5. This field is constant. More...

Gets a system-defined color that has an ARGB value of 0xFF000000. This field is constant. More...

static xtd::drawing::color scroll_bar ()
Gets a system-defined color that has an ARGB value of 0xFFD4D0C8. This field is constant. More...

static xtd::drawing::color text_box ()
Gets a system-defined color that has an ARGB value of 0xFFFFFFFF. This field is constant. More...

static xtd::drawing::color text_box_text ()
Gets a system-defined color that has an ARGB value of 0xFF000000. This field is constant. More...

static xtd::drawing::color window ()
Gets a system-defined color that has an ARGB value of 0xFFFFFFFF. This field is constant. More...

static xtd::drawing::color window_frame ()
Gets a system-defined color that has an ARGB value of 0xFF000000. This field is constant. More...

static xtd::drawing::color window_text ()
Gets a system-defined color that has an ARGB value of 0xFF000000. This field is constant. More...

Detailed Description

Each property of the xtd::drawing::system_colors class is a xtd::drawing::Color structure that is the color of a Windows display element.

Remarks
Better performance is achieved by using the properties of the xtd::drawing::SystemPens or xtd::drawing::SystemBrushes classes rather than creating a new pen or brush based on a value from xtd::drawing::system_colors. For example, if you wanted to get a brush for the face color of a 3-D element, use the SystemBrushes.Control property because it gets a brush that already exists, whereas calling the SolidBrush.#ctor(Color) constructor with a parameter value of system_colors::Control will create a new brush.

The documentation for this class was generated from the following file: