xtd - Reference Guide 0.2.0
xtd::drawing::system_colors Class Referencefinal

#include <system_colors.h>

## Definition

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

class drawing_export_ system_colors final static_
Inheritance
xtd::static_objectxtd::drawing::system_colors
Namespace
xtd::drawing
Library
xtd.drawing
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(xtd::drawing::color) constructor with a parameter value of system_colors::Control will create a new brush.

## Properties

static xtd::drawing::color accent ()
Gets a xtd::drawing::color structure that is the color used to accent a control. More...

static xtd::drawing::color accent_text ()
Gets a xtd::drawing::color structure that is the color of the text used to accent a control. More...

static xtd::drawing::color active_border ()
Gets a xtd::drawing::color structure that is the color of the active window's border. More...

static xtd::drawing::color active_caption ()
Gets a xtd::drawing::color structure that is the color of the background of the active window's title bar. More...

static xtd::drawing::color active_caption_text ()
Gets a xtd::drawing::color structure that is the color of the text in the active window's title bar. More...

static xtd::drawing::color app_workspace ()
Gets a xtd::drawing::color structure that is the color of the application workspace. More...

static xtd::drawing::color button_face ()
Gets a xtd::drawing::color structure that is the face color of a 3-D element. More...

static xtd::drawing::color button_highlight ()
Gets a xtd::drawing::color structure that is the highlight color of a 3-D element. More...

Gets a xtd::drawing::color structure that is the shadow color of a 3-D element. More...

static xtd::drawing::color control ()
Gets a xtd::drawing::color structure that is the face color of a 3-D element. More...

static xtd::drawing::color control_dark ()
Gets a xtd::drawing::color structure that is the shadow color of a 3-D element. More...

static xtd::drawing::color control_dark_dark ()
Gets a xtd::drawing::color structure that is the dark shadow color of a 3-D element. More...

static xtd::drawing::color control_light ()
Gets a xtd::drawing::color structure that is the light color of a 3-D element. More...

static xtd::drawing::color control_light_light ()
Gets a xtd::drawing::color structure that is the highlight color of a 3-D element. More...

static xtd::drawing::color control_text ()
Gets a xtd::drawing::color structure that is the color of text in a 3-D element. More...

static xtd::drawing::color desktop ()
Gets a xtd::drawing::color structure that is the color of the desktop. More...

Gets a xtd::drawing::color structure that is the lightest color in the color gradient of an active window's title bar. More...

Gets a xtd::drawing::color structure that is the lightest color in the color gradient of an inactive window's title bar. More...

static xtd::drawing::color gray_text ()
Gets a xtd::drawing::color structure that is the color of dimmed text. More...

static xtd::drawing::color highlight ()
Gets a xtd::drawing::color structure that is the color of the background of selected items. More...

static xtd::drawing::color highlight_text ()
Gets a xtd::drawing::color structure that is the color of the text of selected items. More...

static xtd::drawing::color hot_track ()
Gets a xtd::drawing::color structure that is the color used to designate a hot-tracked item. More...

static xtd::drawing::color inactive_border ()
Gets a xtd::drawing::color structure that is the color of an inactive window's border. More...

static xtd::drawing::color inactive_caption ()
Gets a xtd::drawing::color structure that is the color of the background of an inactive window's title bar. More...

static xtd::drawing::color inactive_caption_text ()
Gets a xtd::drawing::color structure that is the color of the text in an inactive window's title bar. More...

static xtd::drawing::color info ()
Gets a xtd::drawing::color structure that is the color of the background of a xtd::forms::tool_tip. More...

static xtd::drawing::color info_text ()
Gets a xtd::drawing::color structure that is the color of the text of a xtd::forms::tool_tip. More...

Gets a xtd::drawing::color structure that is the color of a menu's background. More...

Gets a xtd::drawing::color structure that is the color of the background of a menu bar. More...

Gets a xtd::drawing::color structure that is the color used to highlight menu items when the menu appears as a flat menu. More...

Gets a xtd::drawing::color structure that is the color of a menu's text. More...

static xtd::drawing::color scroll_bar ()
Gets a xtd::drawing::color structure that is the color of the background of a scroll bar. More...

static xtd::drawing::color text_box ()
Gets a xtd::drawing::color structure that is the color of the background of a text box. More...

static xtd::drawing::color text_box_text ()
Gets a xtd::drawing::color structure that is the color of the text of a text box. More...

static xtd::drawing::color window ()
Gets a xtd::drawing::color structure that is the color of the background in the client area of a window. More...

static xtd::drawing::color window_frame ()
Gets a xtd::drawing::color structure that is the color of a window frame. More...

static xtd::drawing::color window_text ()
Gets a xtd::drawing::color structure that is the color of the text in the client area of a window. More...

## ◆ accent()

 static xtd::drawing::color xtd::drawing::system_colors::accent ( )
static

Gets a xtd::drawing::color structure that is the color used to accent a control.

Returns
A xtd::drawing::color that is the color used to accent a control.

## ◆ accent_text()

 static xtd::drawing::color xtd::drawing::system_colors::accent_text ( )
static

Gets a xtd::drawing::color structure that is the color of the text used to accent a control.

Returns
A xtd::drawing::color that is the color of the text used to accent a control.

## ◆ active_border()

 static xtd::drawing::color xtd::drawing::system_colors::active_border ( )
static

Gets a xtd::drawing::color structure that is the color of the active window's border.

Returns
A xtd::drawing::color that is the color of the active window's border.

## ◆ active_caption()

 static xtd::drawing::color xtd::drawing::system_colors::active_caption ( )
static

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

Returns
A xtd::drawing::color that is the color of the active window's title bar.

## ◆ active_caption_text()

 static xtd::drawing::color xtd::drawing::system_colors::active_caption_text ( )
static

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

Returns
A xtd::drawing::color that is the color of the text in the active window's title bar.

## ◆ app_workspace()

 static xtd::drawing::color xtd::drawing::system_colors::app_workspace ( )
static

Gets a xtd::drawing::color structure that is the color of the application workspace.

Returns
A xtd::drawing::color that is the color of the application workspace.
Remarks
The application workspace is the area in a multiple-document view that is not being occupied by documents.

## ◆ button_face()

 static xtd::drawing::color xtd::drawing::system_colors::button_face ( )
static

Gets a xtd::drawing::color structure that is the face color of a 3-D element.

Returns
A xtd::drawing::color that is the face color of a 3-D element.

## ◆ button_highlight()

 static xtd::drawing::color xtd::drawing::system_colors::button_highlight ( )
static

Gets a xtd::drawing::color structure that is the highlight color of a 3-D element.

Returns
A xtd::drawing::color that is the highlight color of a 3-D element.
Remarks
This color is applied to parts of a 3-D element that face the light source.

static

Gets a xtd::drawing::color structure that is the shadow color of a 3-D element.

Returns
A xtd::drawing::color that is the shadow color of a 3-D element.
Remarks
This color is applied to parts of a 3-D element that face away from the light source.

## ◆ control()

 static xtd::drawing::color xtd::drawing::system_colors::control ( )
static

Gets a xtd::drawing::color structure that is the face color of a 3-D element.

Returns
A xtd::drawing::color that is the face color of a 3-D element.

## ◆ control_dark()

 static xtd::drawing::color xtd::drawing::system_colors::control_dark ( )
static

Gets a xtd::drawing::color structure that is the shadow color of a 3-D element.

Returns
A xtd::drawing::color that is the shadow color of a 3-D element.
Remarks
This color is applied to parts of a 3-D element that face away from the light source.

## ◆ control_dark_dark()

 static xtd::drawing::color xtd::drawing::system_colors::control_dark_dark ( )
static

Gets a xtd::drawing::color structure that is the dark shadow color of a 3-D element.

Returns
A xtd::drawing::color that is the dark shadow color of a 3-D element.
Remarks
This color is applied to the parts of a 3-D element that are the darkest color.

## ◆ control_light()

 static xtd::drawing::color xtd::drawing::system_colors::control_light ( )
static

Gets a xtd::drawing::color structure that is the light color of a 3-D element.

Returns
A xtd::drawing::color that is the light color of a 3-D element.
Remarks
This color is applied to parts of a 3-D element that face the light source.

## ◆ control_light_light()

 static xtd::drawing::color xtd::drawing::system_colors::control_light_light ( )
static

Gets a xtd::drawing::color structure that is the highlight color of a 3-D element.

Returns
A xtd::drawing::color that is the highlight color of a 3-D element.
Remarks
This color is applied to the parts of a 3-D element that are the lightest color.

## ◆ control_text()

 static xtd::drawing::color xtd::drawing::system_colors::control_text ( )
static

Gets a xtd::drawing::color structure that is the color of text in a 3-D element.

Returns
A xtd::drawing::color that is the color of text in a 3-D element.

## ◆ desktop()

 static xtd::drawing::color xtd::drawing::system_colors::desktop ( )
static

Gets a xtd::drawing::color structure that is the color of the desktop.

Returns
A xtd::drawing::color that is the color of the desktop.

static

Gets a xtd::drawing::color structure that is the lightest color in the color gradient of an active window's title bar.

Returns
A xtd::drawing::color that is the lightest color in the color gradient of an active window's title bar.

static

Gets a xtd::drawing::color structure that is the lightest color in the color gradient of an inactive window's title bar.

Returns
A xtd::drawing::color that is the lightest color in the color gradient of an inactive window's title bar.

## ◆ gray_text()

 static xtd::drawing::color xtd::drawing::system_colors::gray_text ( )
static

Gets a xtd::drawing::color structure that is the color of dimmed text.

Returns
A xtd::drawing::color that is the color of dimmed text.
Remarks
Items in a list that are disabled are displayed in dimmed text.

## ◆ highlight()

 static xtd::drawing::color xtd::drawing::system_colors::highlight ( )
static

Gets a xtd::drawing::color structure that is the color of the background of selected items.

Returns
A xtd::drawing::color that is the color of the background of selected items.
Remarks
Selected items may include menu items as well as selected text. For example, the xtd::drawing::color structure may be the color used for the background of selected items in a list box.

## ◆ highlight_text()

 static xtd::drawing::color xtd::drawing::system_colors::highlight_text ( )
static

Gets a xtd::drawing::color structure that is the color of the text of selected items.

Returns
A xtd::drawing::color that is the color of the text of selected items.
Remarks
For example, this color is used for the text of selected items in a list box.

## ◆ hot_track()

 static xtd::drawing::color xtd::drawing::system_colors::hot_track ( )
static

Gets a xtd::drawing::color structure that is the color used to designate a hot-tracked item.

Returns
A xtd::drawing::color that is the color used to designate a hot-tracked item.
Remarks
Single-clicking a hot-tracked item executes the item.

## ◆ inactive_border()

 static xtd::drawing::color xtd::drawing::system_colors::inactive_border ( )
static

Gets a xtd::drawing::color structure that is the color of an inactive window's border.

Returns
A xtd::drawing::color that is the color of an inactive window's border.

## ◆ inactive_caption()

 static xtd::drawing::color xtd::drawing::system_colors::inactive_caption ( )
static

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

Returns
A xtd::drawing::color that is the color of the background of an inactive window's title bar.

## ◆ inactive_caption_text()

 static xtd::drawing::color xtd::drawing::system_colors::inactive_caption_text ( )
static

Gets a xtd::drawing::color structure that is the color of the text in an inactive window's title bar.

Returns
A xtd::drawing::color that is the color of the text in an inactive window's title bar.

## ◆ info()

 static xtd::drawing::color xtd::drawing::system_colors::info ( )
static

Gets a xtd::drawing::color structure that is the color of the background of a xtd::forms::tool_tip.

Returns
A xtd::drawing::color that is the color of the background of a xtd::forms::tool_tip.

## ◆ info_text()

 static xtd::drawing::color xtd::drawing::system_colors::info_text ( )
static

Gets a xtd::drawing::color structure that is the color of the text of a xtd::forms::tool_tip.

Returns
A xtd::drawing::color that is the color of the text of a xtd::forms::tool_tip.

static

Gets a xtd::drawing::color structure that is the color of a menu's background.

Returns
A xtd::drawing::color that is the color of a menu's background.

static

Gets a xtd::drawing::color structure that is the color of the background of a menu bar.

Returns
A xtd::drawing::color that is the color of the background of a menu bar.

static

Gets a xtd::drawing::color structure that is the color used to highlight menu items when the menu appears as a flat menu.

Returns
A xtd::drawing::color that is the color used to highlight menu items when the menu appears as a flat menu.

static

Gets a xtd::drawing::color structure that is the color of a menu's text.

Returns
A xtd::drawing::color that is the color of a menu's text.

## ◆ scroll_bar()

 static xtd::drawing::color xtd::drawing::system_colors::scroll_bar ( )
static

Gets a xtd::drawing::color structure that is the color of the background of a scroll bar.

Returns
A xtd::drawing::color that is the color of the background of a scroll bar.

## ◆ text_box()

 static xtd::drawing::color xtd::drawing::system_colors::text_box ( )
static

Gets a xtd::drawing::color structure that is the color of the background of a text box.

Returns
A xtd::drawing::color that is the color of the background of a textt box.

## ◆ text_box_text()

 static xtd::drawing::color xtd::drawing::system_colors::text_box_text ( )
static

Gets a xtd::drawing::color structure that is the color of the text of a text box.

Returns
A xtd::drawing::color that is the color of the text of a text tbox.

## ◆ window()

 static xtd::drawing::color xtd::drawing::system_colors::window ( )
static

Gets a xtd::drawing::color structure that is the color of the background in the client area of a window.

Returns
A xtd::drawing::color that is the color of the background in the client area of a window.
Examples:
image_list.cpp.

## ◆ window_frame()

 static xtd::drawing::color xtd::drawing::system_colors::window_frame ( )
static

Gets a xtd::drawing::color structure that is the color of a window frame.

Returns
A xtd::drawing::color that is the color of a window frame.

## ◆ window_text()

 static xtd::drawing::color xtd::drawing::system_colors::window_text ( )
static

Gets a xtd::drawing::color structure that is the color of the text in the client area of a window.

Returns
A xtd::drawing::color that is the color of the text in the client area of a window.

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