xtd 0.2.0
Loading...
Searching...
No Matches
xtd::forms::style_sheets::system_colors Class Reference
Inheritance diagram for xtd::forms::style_sheets::system_colors:
xtd::iequatable< system_colors > xtd::object xtd::interface xtd::equality_operators< type_t, equatable_t >

Definition

The theme data allows you to specify the theme informations.

The theme data allows you to specify the theme informations.
Definition system_colors.h:34
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
#define forms_export_
Define shared library export.
Definition forms_export.h:13
Inheritance
xtd::objectxtd::forms::style_sheets::system_colors
Header
#include <xtd/forms/style_sheets/system_colors>
Namespace
xtd::forms::style_sheets
Library
xtd.forms

Public Constructors

 system_colors ()=default
 Initializes a new instance of the xtd::forms::style_sheets::system_colors class.
 

Public Properties

const xtd::drawing::coloraccent () const noexcept
 Gets the accent system color;.
 
void accent (const xtd::drawing::color &value) noexcept
 Sets the accent system color;.
 
const xtd::drawing::coloraccent_text () const noexcept
 Gets the accent text system color;.
 
void accent_text (const xtd::drawing::color &value) noexcept
 Sets the accent text system color;.
 
const xtd::drawing::coloractive_border () const noexcept
 Gets the active border system color;.
 
void active_border (const xtd::drawing::color &value) noexcept
 Sets the active border system color;.
 
const xtd::drawing::coloractive_caption () const noexcept
 Gets the active caption system color;.
 
void active_caption (const xtd::drawing::color &value) noexcept
 Sets the active caption system color;.
 
const xtd::drawing::coloractive_caption_text () const noexcept
 Gets the active caption text system color;.
 
void active_caption_text (const xtd::drawing::color &value) noexcept
 Sets the active caption text system color;.
 
const xtd::drawing::coloractive_text () const noexcept
 Gets the text color of an html link text when mouse down.
 
void active_text (const xtd::drawing::color &value) noexcept
 Sets the text color of an html link text when mouse down.
 
const xtd::drawing::colorapp_workspace () const noexcept
 Gets the app workspace system color;.
 
void app_workspace (const xtd::drawing::color &value) noexcept
 Sets the app workspace system color;.
 
const xtd::drawing::colorbutton_face () const noexcept
 Gets the button face system color;.
 
void button_face (const xtd::drawing::color &value) noexcept
 Sets the button face system color;.
 
const xtd::drawing::colorbutton_highlight () const noexcept
 Gets the button highlight system color;.
 
void button_highlight (const xtd::drawing::color &value) noexcept
 Sets the button highlight system color;.
 
const xtd::drawing::colorbutton_shadow () const noexcept
 Gets the button shadow system color;.
 
void button_shadow (const xtd::drawing::color &value) noexcept
 Sets the button shadow system color;.
 
const xtd::drawing::colorcontrol () const noexcept
 Gets the control system color;.
 
void control (const xtd::drawing::color &value) noexcept
 Sets the control system color;.
 
const xtd::drawing::colorcontrol_dark () const noexcept
 Gets the control dark system color;.
 
void control_dark (const xtd::drawing::color &value) noexcept
 Sets the control dark system color;.
 
const xtd::drawing::colorcontrol_dark_dark () const noexcept
 Gets the control dark dark system color;.
 
void control_dark_dark (const xtd::drawing::color &value) noexcept
 Sets the control dark dark system color;.
 
const xtd::drawing::colorcontrol_light () const noexcept
 Gets the control light system color;.
 
void control_light (const xtd::drawing::color &value) noexcept
 Sets the control light system color;.
 
const xtd::drawing::colorcontrol_light_light () const noexcept
 Gets the control light light system color;.
 
void control_light_light (const xtd::drawing::color &value) noexcept
 Sets the control light light system color;.
 
const xtd::drawing::colorcontrol_text () const noexcept
 Gets the control text system color;.
 
void control_text (const xtd::drawing::color &value) noexcept
 Sets the control text system color;.
 
const xtd::drawing::colordesktop () const noexcept
 Gets the desktop system color;.
 
void desktop (const xtd::drawing::color &value) noexcept
 Sets the desktop system color;.
 
const xtd::drawing::colorgradient_active_caption () const noexcept
 Gets the gradient active caption system color;.
 
void gradient_active_caption (const xtd::drawing::color &value) noexcept
 Sets the gradient active caption system color;.
 
const xtd::drawing::colorgradient_inactive_caption () const noexcept
 Gets the gradient inactive caption system color;.
 
void gradient_inactive_caption (const xtd::drawing::color &value) noexcept
 Sets the gradient inactive caption system color;.
 
const xtd::drawing::colorgray_text () const noexcept
 Gets the gray text system color;.
 
void gray_text (const xtd::drawing::color &value) noexcept
 Sets the gray text system color;.
 
const xtd::drawing::colorhighlight () const noexcept
 Gets the highlight system color;.
 
void highlight (const xtd::drawing::color &value) noexcept
 Sets the highlight system color;.
 
const xtd::drawing::colorhighlight_text () const noexcept
 Gets the highlight text system color;.
 
void highlight_text (const xtd::drawing::color &value) noexcept
 Sets the highlight text system color;.
 
const xtd::drawing::colorhot_track () const noexcept
 Gets the hot track system color;.
 
void hot_track (const xtd::drawing::color &value) noexcept
 Sets the hot track system color;.
 
const xtd::drawing::colorinactive_border () const noexcept
 Gets the inactive border system color;.
 
void inactive_border (const xtd::drawing::color &value) noexcept
 Sets the inactive border system color;.
 
const xtd::drawing::colorinactive_caption () const noexcept
 Gets the inactive caption system color;.
 
void inactive_caption (const xtd::drawing::color &value) noexcept
 Sets the inactive caption system color;.
 
const xtd::drawing::colorinactive_caption_text () const noexcept
 Gets the inactive caption text system color;.
 
void inactive_caption_text (const xtd::drawing::color &value) noexcept
 Sets the inactive caption text system color;.
 
const xtd::drawing::colorinfo () const noexcept
 Gets the info system color;.
 
void info (const xtd::drawing::color &value) noexcept
 Sets the info system color;.
 
const xtd::drawing::colorinfo_text () const noexcept
 Gets the info text system color;.
 
void info_text (const xtd::drawing::color &value) noexcept
 Sets the info text system color;.
 
const xtd::drawing::colorlink_text () const noexcept
 Gets the text color of an html link text.
 
void link_text (const xtd::drawing::color &value) noexcept
 Sets the text color of an html link text.
 
const xtd::drawing::colormenu () const noexcept
 Gets the menu system color;.
 
void menu (const xtd::drawing::color &value) noexcept
 Sets the menu system color;.
 
const xtd::drawing::colormenu_bar () const noexcept
 Gets the menu bar system color;.
 
void menu_bar (const xtd::drawing::color &value) noexcept
 Sets the menu bar system color;.
 
const xtd::drawing::colormenu_highlight () const noexcept
 Gets the menu highlight system color;.
 
void menu_highlight (const xtd::drawing::color &value) noexcept
 Sets the menu highlight system color;.
 
const xtd::drawing::colormenu_text () const noexcept
 Gets the menu text system color;.
 
void menu_text (const xtd::drawing::color &value) noexcept
 Sets the menu text system color;.
 
const xtd::drawing::colorscroll_bar () const noexcept
 Gets the scroll bar system color;.
 
void scroll_bar (const xtd::drawing::color &value) noexcept
 Sets the scroll bar system color;.
 
const xtd::drawing::colorshadow_text () const noexcept
 Gets the shadow text system color;.
 
void shadow_text (const xtd::drawing::color &value) noexcept
 Sets the shadow text system color;.
 
const xtd::drawing::colortext_box () const noexcept
 Gets the text box system color;.
 
void text_box (const xtd::drawing::color &value) noexcept
 Sets the text box system color;.
 
const xtd::drawing::colortext_box_text () const noexcept
 Gets the text box text system color;.
 
void text_box_text (const xtd::drawing::color &value) noexcept
 Sets the text box text system color;.
 
const xtd::drawing::colorvisited_text () const noexcept
 Gets the text color of an html visited link text.
 
void visited_text (const xtd::drawing::color &value) noexcept
 Sets the text color of an html visited link text.
 
const xtd::drawing::colorwindow () const noexcept
 Gets the window system color;.
 
void window (const xtd::drawing::color &value) noexcept
 Sets the window system color;.
 
const xtd::drawing::colorwindow_frame () const noexcept
 Gets the window frame system color;.
 
void window_frame (const xtd::drawing::color &value) noexcept
 Sets the window frame system color;.
 
const xtd::drawing::colorwindow_text () const noexcept
 Gets the window text system color;.
 
void window_text (const xtd::drawing::color &value) noexcept
 Sets the window text system color;.
 

Public Methods

bool equals (const system_colors &other) const noexcept override
 
virtual bool equals (const object &obj) const noexcept
 Determines whether the specified object is equal to the current object.
 
template<typename object_a_t , typename object_b_t >
static bool equals (const object_a_t &object_a, const object_b_t &object_b) noexcept
 Determines whether the specified object instances are considered equal.
 

Additional Inherited Members

- Public Member Functions inherited from xtd::iequatable< system_colors >
virtual bool equals (const system_colors &) const noexcept=0
 Indicates whether the current object is equal to another object of the same type.
 
- Public Member Functions inherited from xtd::object
 object ()=default
 Create a new instance of the ultimate base class object.
 
virtual size_t get_hash_code () const noexcept
 Serves as a hash function for a particular type.
 
virtual type_object get_type () const noexcept
 Gets the type of the current instance.
 
template<typename object_t >
xtd::uptr< object_t > memberwise_clone () const
 Creates a shallow copy of the current object.
 
virtual xtd::string to_string () const noexcept
 Returns a xtd::string that represents the current object.
 
- Static Public Member Functions inherited from xtd::object
template<typename object_a_t , typename object_b_t >
static bool equals (const object_a_t &object_a, const object_b_t &object_b) noexcept
 Determines whether the specified object instances are considered equal.
 
template<typename object_a_t , typename object_b_t >
static bool reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept
 Determines whether the specified object instances are the same instance.
 

Constructor & Destructor Documentation

◆ system_colors()

xtd::forms::style_sheets::system_colors::system_colors ( )
default

Initializes a new instance of the xtd::forms::style_sheets::system_colors class.

Member Function Documentation

◆ accent() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::accent ( ) const
noexcept

Gets the accent system color;.

Returns
The accent system color.

◆ accent() [2/2]

void xtd::forms::style_sheets::system_colors::accent ( const xtd::drawing::color value)
noexcept

Sets the accent system color;.

Parameters
valueThe accent system color.

◆ accent_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::accent_text ( ) const
noexcept

Gets the accent text system color;.

Returns
The accent text system color.

◆ accent_text() [2/2]

void xtd::forms::style_sheets::system_colors::accent_text ( const xtd::drawing::color value)
noexcept

Sets the accent text system color;.

Parameters
valueThe accent text system color.

◆ active_border() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::active_border ( ) const
noexcept

Gets the active border system color;.

Returns
The active border system color.

◆ active_border() [2/2]

void xtd::forms::style_sheets::system_colors::active_border ( const xtd::drawing::color value)
noexcept

Sets the active border system color;.

Parameters
valueThe active border system color.

◆ active_caption() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::active_caption ( ) const
noexcept

Gets the active caption system color;.

Returns
The active caption system color.

◆ active_caption() [2/2]

void xtd::forms::style_sheets::system_colors::active_caption ( const xtd::drawing::color value)
noexcept

Sets the active caption system color;.

Parameters
valueThe active caption system color.

◆ active_caption_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::active_caption_text ( ) const
noexcept

Gets the active caption text system color;.

Returns
The active caption text system color.

◆ active_caption_text() [2/2]

void xtd::forms::style_sheets::system_colors::active_caption_text ( const xtd::drawing::color value)
noexcept

Sets the active caption text system color;.

Parameters
valueThe active caption text system color.

◆ active_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::active_text ( ) const
noexcept

Gets the text color of an html link text when mouse down.

Returns
The text color of an html link text when mouse down.

◆ active_text() [2/2]

void xtd::forms::style_sheets::system_colors::active_text ( const xtd::drawing::color value)
noexcept

Sets the text color of an html link text when mouse down.

Parameters
valueThe text color of an html link text when mouse down.

◆ app_workspace() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::app_workspace ( ) const
noexcept

Gets the app workspace system color;.

Returns
The app workspace system color.

◆ app_workspace() [2/2]

void xtd::forms::style_sheets::system_colors::app_workspace ( const xtd::drawing::color value)
noexcept

Sets the app workspace system color;.

Parameters
valueThe app workspace system color.

◆ button_face() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::button_face ( ) const
noexcept

Gets the button face system color;.

Returns
The button face system color.

◆ button_face() [2/2]

void xtd::forms::style_sheets::system_colors::button_face ( const xtd::drawing::color value)
noexcept

Sets the button face system color;.

Parameters
valueThe button face system color.

◆ button_highlight() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::button_highlight ( ) const
noexcept

Gets the button highlight system color;.

Returns
The button highlight system color.

◆ button_highlight() [2/2]

void xtd::forms::style_sheets::system_colors::button_highlight ( const xtd::drawing::color value)
noexcept

Sets the button highlight system color;.

Parameters
valueThe button highlight system color.

◆ button_shadow() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::button_shadow ( ) const
noexcept

Gets the button shadow system color;.

Returns
The button shadow system color.

◆ button_shadow() [2/2]

void xtd::forms::style_sheets::system_colors::button_shadow ( const xtd::drawing::color value)
noexcept

Sets the button shadow system color;.

Parameters
valueThe button shadow system color.

◆ control() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::control ( ) const
noexcept

Gets the control system color;.

Returns
The control system color.

◆ control() [2/2]

void xtd::forms::style_sheets::system_colors::control ( const xtd::drawing::color value)
noexcept

Sets the control system color;.

Parameters
valueThe control system color.

◆ control_dark() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::control_dark ( ) const
noexcept

Gets the control dark system color;.

Returns
The control dark system color.

◆ control_dark() [2/2]

void xtd::forms::style_sheets::system_colors::control_dark ( const xtd::drawing::color value)
noexcept

Sets the control dark system color;.

Parameters
valueThe control dark system color.

◆ control_dark_dark() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::control_dark_dark ( ) const
noexcept

Gets the control dark dark system color;.

Returns
The control dark dark system color.

◆ control_dark_dark() [2/2]

void xtd::forms::style_sheets::system_colors::control_dark_dark ( const xtd::drawing::color value)
noexcept

Sets the control dark dark system color;.

Parameters
valueThe control dark dark system color.

◆ control_light() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::control_light ( ) const
noexcept

Gets the control light system color;.

Returns
The control light system color.

◆ control_light() [2/2]

void xtd::forms::style_sheets::system_colors::control_light ( const xtd::drawing::color value)
noexcept

Sets the control light system color;.

Parameters
valueThe control light system color.

◆ control_light_light() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::control_light_light ( ) const
noexcept

Gets the control light light system color;.

Returns
The control light light system color.

◆ control_light_light() [2/2]

void xtd::forms::style_sheets::system_colors::control_light_light ( const xtd::drawing::color value)
noexcept

Sets the control light light system color;.

Parameters
valueThe control light light system color.

◆ control_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::control_text ( ) const
noexcept

Gets the control text system color;.

Returns
The control text system color.

◆ control_text() [2/2]

void xtd::forms::style_sheets::system_colors::control_text ( const xtd::drawing::color value)
noexcept

Sets the control text system color;.

Parameters
valueThe control text system color.

◆ desktop() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::desktop ( ) const
noexcept

Gets the desktop system color;.

Returns
The desktop system color.

◆ desktop() [2/2]

void xtd::forms::style_sheets::system_colors::desktop ( const xtd::drawing::color value)
noexcept

Sets the desktop system color;.

Parameters
valueThe desktop system color.

◆ gradient_active_caption() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::gradient_active_caption ( ) const
noexcept

Gets the gradient active caption system color;.

Returns
The gradient active caption system color.

◆ gradient_active_caption() [2/2]

void xtd::forms::style_sheets::system_colors::gradient_active_caption ( const xtd::drawing::color value)
noexcept

Sets the gradient active caption system color;.

Parameters
valueThe gradient active caption system color.

◆ gradient_inactive_caption() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::gradient_inactive_caption ( ) const
noexcept

Gets the gradient inactive caption system color;.

Returns
The gradient inactive caption system color.

◆ gradient_inactive_caption() [2/2]

void xtd::forms::style_sheets::system_colors::gradient_inactive_caption ( const xtd::drawing::color value)
noexcept

Sets the gradient inactive caption system color;.

Parameters
valueThe gradient inactive caption system color.

◆ gray_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::gray_text ( ) const
noexcept

Gets the gray text system color;.

Returns
The gray text system color.

◆ gray_text() [2/2]

void xtd::forms::style_sheets::system_colors::gray_text ( const xtd::drawing::color value)
noexcept

Sets the gray text system color;.

Parameters
valueThe gray text system color.

◆ highlight() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::highlight ( ) const
noexcept

Gets the highlight system color;.

Returns
The highlight system color.

◆ highlight() [2/2]

void xtd::forms::style_sheets::system_colors::highlight ( const xtd::drawing::color value)
noexcept

Sets the highlight system color;.

Parameters
valueThe highlight system color.

◆ highlight_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::highlight_text ( ) const
noexcept

Gets the highlight text system color;.

Returns
The highlight text system color.

◆ highlight_text() [2/2]

void xtd::forms::style_sheets::system_colors::highlight_text ( const xtd::drawing::color value)
noexcept

Sets the highlight text system color;.

Parameters
valueThe highlight text system color.

◆ hot_track() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::hot_track ( ) const
noexcept

Gets the hot track system color;.

Returns
The hot track system color.

◆ hot_track() [2/2]

void xtd::forms::style_sheets::system_colors::hot_track ( const xtd::drawing::color value)
noexcept

Sets the hot track system color;.

Parameters
valueThe hot track system color.

◆ inactive_border() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::inactive_border ( ) const
noexcept

Gets the inactive border system color;.

Returns
The inactive border system color.

◆ inactive_border() [2/2]

void xtd::forms::style_sheets::system_colors::inactive_border ( const xtd::drawing::color value)
noexcept

Sets the inactive border system color;.

Parameters
valueThe inactive border system color.

◆ inactive_caption() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::inactive_caption ( ) const
noexcept

Gets the inactive caption system color;.

Returns
The inactive caption system color.

◆ inactive_caption() [2/2]

void xtd::forms::style_sheets::system_colors::inactive_caption ( const xtd::drawing::color value)
noexcept

Sets the inactive caption system color;.

Parameters
valueThe inactive caption system color.

◆ inactive_caption_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::inactive_caption_text ( ) const
noexcept

Gets the inactive caption text system color;.

Returns
The inactive caption text system color.

◆ inactive_caption_text() [2/2]

void xtd::forms::style_sheets::system_colors::inactive_caption_text ( const xtd::drawing::color value)
noexcept

Sets the inactive caption text system color;.

Parameters
valueThe inactive caption text system color.

◆ info() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::info ( ) const
noexcept

Gets the info system color;.

Returns
The info system color.

◆ info() [2/2]

void xtd::forms::style_sheets::system_colors::info ( const xtd::drawing::color value)
noexcept

Sets the info system color;.

Parameters
valueThe info system color.

◆ info_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::info_text ( ) const
noexcept

Gets the info text system color;.

Returns
The info text system color.

◆ info_text() [2/2]

void xtd::forms::style_sheets::system_colors::info_text ( const xtd::drawing::color value)
noexcept

Sets the info text system color;.

Parameters
valueThe info text system color.

◆ link_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::link_text ( ) const
noexcept

Gets the text color of an html link text.

Returns
The text color of an html link text.

◆ link_text() [2/2]

void xtd::forms::style_sheets::system_colors::link_text ( const xtd::drawing::color value)
noexcept

Sets the text color of an html link text.

Parameters
valueThe text color of an html link text.

◆ menu() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::menu ( ) const
noexcept

Gets the menu system color;.

Returns
The menu system color.

◆ menu() [2/2]

void xtd::forms::style_sheets::system_colors::menu ( const xtd::drawing::color value)
noexcept

Sets the menu system color;.

Parameters
valueThe menu system color.

◆ menu_bar() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::menu_bar ( ) const
noexcept

Gets the menu bar system color;.

Returns
The menu bar system color.

◆ menu_bar() [2/2]

void xtd::forms::style_sheets::system_colors::menu_bar ( const xtd::drawing::color value)
noexcept

Sets the menu bar system color;.

Parameters
valueThe menu bar system color.

◆ menu_highlight() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::menu_highlight ( ) const
noexcept

Gets the menu highlight system color;.

Returns
The menu highlight system color.

◆ menu_highlight() [2/2]

void xtd::forms::style_sheets::system_colors::menu_highlight ( const xtd::drawing::color value)
noexcept

Sets the menu highlight system color;.

Parameters
valueThe menu highlight system color.

◆ menu_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::menu_text ( ) const
noexcept

Gets the menu text system color;.

Returns
The menu text system color.

◆ menu_text() [2/2]

void xtd::forms::style_sheets::system_colors::menu_text ( const xtd::drawing::color value)
noexcept

Sets the menu text system color;.

Parameters
valueThe menu text system color.

◆ scroll_bar() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::scroll_bar ( ) const
noexcept

Gets the scroll bar system color;.

Returns
The scroll bar system color.

◆ scroll_bar() [2/2]

void xtd::forms::style_sheets::system_colors::scroll_bar ( const xtd::drawing::color value)
noexcept

Sets the scroll bar system color;.

Parameters
valueThe scroll bar system color.

◆ shadow_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::shadow_text ( ) const
noexcept

Gets the shadow text system color;.

Returns
The shadow text system color.

◆ shadow_text() [2/2]

void xtd::forms::style_sheets::system_colors::shadow_text ( const xtd::drawing::color value)
noexcept

Sets the shadow text system color;.

Parameters
valueThe shadow text system color.

◆ text_box() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::text_box ( ) const
noexcept

Gets the text box system color;.

Returns
The text box system color.

◆ text_box() [2/2]

void xtd::forms::style_sheets::system_colors::text_box ( const xtd::drawing::color value)
noexcept

Sets the text box system color;.

Parameters
valueThe text box system color.

◆ text_box_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::text_box_text ( ) const
noexcept

Gets the text box text system color;.

Returns
The text box text system color.

◆ text_box_text() [2/2]

void xtd::forms::style_sheets::system_colors::text_box_text ( const xtd::drawing::color value)
noexcept

Sets the text box text system color;.

Parameters
valueThe text box text system color.

◆ visited_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::visited_text ( ) const
noexcept

Gets the text color of an html visited link text.

Returns
The text color of an html visited link text.

◆ visited_text() [2/2]

void xtd::forms::style_sheets::system_colors::visited_text ( const xtd::drawing::color value)
noexcept

Sets the text color of an html visited link text.

Parameters
valueThe text color of an html visited link text.

◆ window() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::window ( ) const
noexcept

Gets the window system color;.

Returns
The window system color.

◆ window() [2/2]

void xtd::forms::style_sheets::system_colors::window ( const xtd::drawing::color value)
noexcept

Sets the window system color;.

Parameters
valueThe window system color.

◆ window_frame() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::window_frame ( ) const
noexcept

Gets the window frame system color;.

Returns
The window frame system color.

◆ window_frame() [2/2]

void xtd::forms::style_sheets::system_colors::window_frame ( const xtd::drawing::color value)
noexcept

Sets the window frame system color;.

Parameters
valueThe window frame system color.

◆ window_text() [1/2]

const xtd::drawing::color & xtd::forms::style_sheets::system_colors::window_text ( ) const
noexcept

Gets the window text system color;.

Returns
The window text system color.

◆ window_text() [2/2]

void xtd::forms::style_sheets::system_colors::window_text ( const xtd::drawing::color value)
noexcept

Sets the window text system color;.

Parameters
valueThe window text system color.

◆ equals() [1/2]

virtual bool xtd::object::equals ( const object obj) const
virtualnoexcept

Determines whether the specified object is equal to the current object.

Parameters
objThe object to compare with the current object.
Returns
true if the specified object is equal to the current object. otherwise, false.
Examples
The following code example compares the current instance with another object.
#include <xtd/console>
using namespace xtd;
auto main() -> int {
auto object1 = new_ptr<object>();
auto object2 = new_ptr<object>();
auto object3 = object2;
console::write_line(object1->equals(*object3));
console::write_line(*object1 == *object3);
object3 = object1;
console::write_line(object1->equals(*object3));
console::write_line(*object1 == *object3);
}
// This code produces the following output :
//
// false
// false
// true
// true
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10

Reimplemented from xtd::object.

◆ equals() [2/2]

template<typename object_a_t , typename object_b_t >
static bool xtd::object::equals ( const object_a_t &  object_a,
const object_b_t &  object_b 
)
inlinestaticnoexcept

Determines whether the specified object instances are considered equal.

Parameters
object_aThe first object to compare.
object_bThe second object to compare.
Returns
true if object_a is the same instance as object_b or if both are null references or if object_a(object_b) returns true. otherwise, false.
Examples
The following code example compares different objects.
#include <xtd/console>
using namespace xtd;
auto main() -> int {
string s1 = "Tom";
string s2 = "Carol";
console::write_line("object::equals(\"{0}\", \"{1}\") => {2}", s1, s2, object::equals(s1, s2));
s1 = "Tom";
s2 = "Tom";
console::write_line("object::equals(\"{0}\", \"{1}\") => {2}", s1, s2, object::equals(s1, s2));
s1 = "";
s2 = "Tom";
console::write_line("object::equals(\"{0}\", \"{1}\") => {2}", s1, s2, object::equals(s1, s2));
s1 = "Carol";
s2 = "";
console::write_line("object::equals(\"{0}\", \"{1}\") => {2}", s1, s2, object::equals(s1, s2));
s1 = "";
s2 = "";
console::write_line("object::equals(\"{0}\", \"{1}\") => {2}", s1, s2, object::equals(s1, s2));
}
// This code produces the following output :
//
// object::equals("Tom", "Carol") => false
// object::equals("Tom", "Tom") => true
// object::equals("", "Tom") => false
// object::equals("Carol", "") => false
// object::equals("", "") => true
virtual bool equals(const object &obj) const noexcept
Determines whether the specified object is equal to the current object.

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