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::string > & get_color_names () noexcept
 Gets an array of system color names.
 

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