xtd 0.2.0
Loading...
Searching...
No Matches
xtd::drawing::system_colors Class Referencefinal
Inheritance diagram for xtd::drawing::system_colors:
xtd::static_object

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.

Each property of the xtd::drawing::system_colors class is a xtd::drawing::color structure that is the...
Definition system_colors.h:25
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:37
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.
Examples
border_style.cpp, and owner_button.cpp.

Public Static Properties

static xtd::drawing::color accent ()
 Gets a xtd::drawing::color structure that is the color used to accent a control.
 
static xtd::drawing::color accent_text ()
 Gets a xtd::drawing::color structure that is the color of the text used to accent a control.
 
static xtd::drawing::color active_border ()
 Gets a xtd::drawing::color structure that is the color of the active window's border.
 
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.
 
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.
 
static xtd::drawing::color active_text ()
 Gets a xtd::drawing::color structure that is the color of a active text.
 
static xtd::drawing::color app_workspace ()
 Gets a xtd::drawing::color structure that is the color of the application workspace.
 
static xtd::drawing::color button_face ()
 Gets a xtd::drawing::color structure that is the face color of a 3-D element.
 
static xtd::drawing::color button_highlight ()
 Gets a xtd::drawing::color structure that is the highlight color of a 3-D element.
 
static xtd::drawing::color button_shadow ()
 Gets a xtd::drawing::color structure that is the shadow color of a 3-D element.
 
static xtd::drawing::color control ()
 Gets a xtd::drawing::color structure that is the face color of a 3-D element.
 
static xtd::drawing::color control_dark ()
 Gets a xtd::drawing::color structure that is the shadow color of a 3-D element.
 
static xtd::drawing::color control_dark_dark ()
 Gets a xtd::drawing::color structure that is the dark shadow color of a 3-D element.
 
static xtd::drawing::color control_light ()
 Gets a xtd::drawing::color structure that is the light color of a 3-D element.
 
static xtd::drawing::color control_light_light ()
 Gets a xtd::drawing::color structure that is the highlight color of a 3-D element.
 
static xtd::drawing::color control_text ()
 Gets a xtd::drawing::color structure that is the color of text in a 3-D element.
 
static xtd::drawing::color desktop ()
 Gets a xtd::drawing::color structure that is the color of the desktop.
 
static xtd::drawing::color gradient_active_caption ()
 Gets a xtd::drawing::color structure that is the lightest color in the color gradient of an active window's title bar.
 
static xtd::drawing::color gradient_inactive_caption ()
 Gets a xtd::drawing::color structure that is the lightest color in the color gradient of an inactive window's title bar.
 
static xtd::drawing::color gray_text ()
 Gets a xtd::drawing::color structure that is the color of dimmed text.
 
static xtd::drawing::color highlight ()
 Gets a xtd::drawing::color structure that is the color of the background of selected items.
 
static xtd::drawing::color highlight_text ()
 Gets a xtd::drawing::color structure that is the color of the text of selected items.
 
static xtd::drawing::color hot_track ()
 Gets a xtd::drawing::color structure that is the color used to designate a hot-tracked item.
 
static xtd::drawing::color inactive_border ()
 Gets a xtd::drawing::color structure that is the color of an inactive window's border.
 
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.
 
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.
 
static xtd::drawing::color info ()
 Gets a xtd::drawing::color structure that is the color of the background of a xtd::forms::tool_tip.
 
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.
 
static xtd::drawing::color link_text ()
 Gets a xtd::drawing::color structure that is the color of a link text.
 
static xtd::drawing::color menu ()
 Gets a xtd::drawing::color structure that is the color of a menu's background.
 
static xtd::drawing::color menu_bar ()
 Gets a xtd::drawing::color structure that is the color of the background of a menu bar.
 
static xtd::drawing::color menu_highlight ()
 Gets a xtd::drawing::color structure that is the color used to highlight menu items when the menu appears as a flat menu.
 
static xtd::drawing::color menu_text ()
 Gets a xtd::drawing::color structure that is the color of a menu's text.
 
static xtd::drawing::color scroll_bar ()
 Gets a xtd::drawing::color structure that is the color of the background of a scroll bar.
 
static xtd::drawing::color shadow_text ()
 Gets a xtd::drawing::color structure that is the color of the shadow text.
 
static xtd::drawing::color text_box ()
 Gets a xtd::drawing::color structure that is the color of the background of a text box.
 
static xtd::drawing::color text_box_text ()
 Gets a xtd::drawing::color structure that is the color of the text of a text box.
 
static xtd::drawing::color visited_text ()
 Gets a xtd::drawing::color structure that is the color of a visited text.
 
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.
 
static xtd::drawing::color window_frame ()
 Gets a xtd::drawing::color structure that is the color of a window frame.
 
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.
 

Public Static Methods

static const std::vector< xtd::drawing::color > & get_colors () noexcept
 Gets an array of system colors.
 
static const std::vector< xtd::ustring > & get_color_names () noexcept
 Gets an array of system color names.
 

Member Function Documentation

◆ 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.

◆ active_text()

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

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

Returns
A xtd::drawing::color that is the color of a active text.
Remarks
The active text color is the text color of an html link text when mouse down.

◆ 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.

◆ button_shadow()

static xtd::drawing::color xtd::drawing::system_colors::button_shadow ( )
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.
Examples
application_enable_dark_mode.cpp, application_enable_light_mode.cpp, some_controls.cpp, some_system_controls.cpp, and themes.cpp.

◆ 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.

◆ get_color_names()

static const std::vector< xtd::ustring > & xtd::drawing::system_colors::get_color_names ( )
staticnoexcept

Gets an array of system color names.

◆ get_colors()

static const std::vector< xtd::drawing::color > & xtd::drawing::system_colors::get_colors ( )
staticnoexcept

Gets an array of system colors.

◆ gradient_active_caption()

static xtd::drawing::color xtd::drawing::system_colors::gradient_active_caption ( )
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.

◆ gradient_inactive_caption()

static xtd::drawing::color xtd::drawing::system_colors::gradient_inactive_caption ( )
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.

◆ link_text()

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

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

Returns
A xtd::drawing::color that is the color of a link text.
Remarks
The link text color is the text color of an html link text.

◆ menu()

static xtd::drawing::color xtd::drawing::system_colors::menu ( )
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.

◆ menu_bar()

static xtd::drawing::color xtd::drawing::system_colors::menu_bar ( )
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.

◆ menu_highlight()

static xtd::drawing::color xtd::drawing::system_colors::menu_highlight ( )
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.

◆ menu_text()

static xtd::drawing::color xtd::drawing::system_colors::menu_text ( )
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.

◆ shadow_text()

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

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

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

◆ 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.

◆ visited_text()

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

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

Returns
A xtd::drawing::color that is the color of a link text.
Remarks
The visited text color is the text color of an html visited link text.

◆ 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.

◆ 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: