xtd 1.0.0
Loading...
Searching...
No Matches
xtd::forms::form_button_images Class Referencefinal
Inheritance diagram for xtd::forms::form_button_images:
xtd::static_object

Definition

Provides a form button images factories for use by a form control.

Header
#include <xtd/forms/form_button_images>
Namespace
xtd::forms
Library
xtd.forms

Public Static Methods

static auto close () -> xtd::drawing::image
 Close image object.
static auto close (bool maximized_form) -> xtd::drawing::image
 Close image object with specified maximized form.
static auto close (const xtd::string &theme) -> xtd::drawing::image
 Close image object with specified theme.
static auto close (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 Close image object with specified theme and maximized form.
static auto close (const xtd::drawing::size &size) -> xtd::drawing::image
 Close image object with specified size.
static auto close (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 Close image object with specified theme and size.
static auto close_hovered () -> xtd::drawing::image
 Close hovered image object.
static auto close_hovered (bool maximized_form) -> xtd::drawing::image
 Close hovered image object with specified maximized form.
static auto close_hovered (const xtd::string &theme) -> xtd::drawing::image
 Close hovered image object with specified theme.
static auto close_hovered (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 Close hovered image object with specified theme and maximized form.
static auto close_hovered (const xtd::drawing::size &size) -> xtd::drawing::image
 Close hovered image object with specified size.
static auto close_hovered (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 Close hovered image object with specified theme and size.
static auto fullscreen () -> xtd::drawing::image
 Fullscreen image object.
static auto fullscreen (bool maximized_form) -> xtd::drawing::image
 Fullscreen image object with specified maximized form.
static auto fullscreen (const xtd::string &theme) -> xtd::drawing::image
 Fullscreen image object with specified theme.
static auto fullscreen (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 Fullscreen image object with specified theme and maximized form.
static auto fullscreen (const xtd::drawing::size &size) -> xtd::drawing::image
 Fullscreen image object with specified size.
static auto fullscreen (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 Fullscreen image object with specified theme and size.
static auto fullscreen_hovered () -> xtd::drawing::image
 Close image object.
static auto fullscreen_hovered (bool maximized_form) -> xtd::drawing::image
 Fullscreen hovered image object with specified maximized form.
static auto fullscreen_hovered (const xtd::string &theme) -> xtd::drawing::image
 Fullscreen hovered image object with specified theme.
static auto fullscreen_hovered (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 Fullscreen hovered image object with specified theme and maximized form.
static auto fullscreen_hovered (const xtd::drawing::size &size) -> xtd::drawing::image
 Fullscreen hovered image object with specified size.
static auto fullscreen_hovered (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 Fullscreen hovered image object with specified theme and size.
static auto maximize () -> xtd::drawing::image
 Maximize image object.
static auto maximize (bool maximized_form) -> xtd::drawing::image
 Maximize image object with specified maximized form.
static auto maximize (const xtd::string &theme) -> xtd::drawing::image
 Maximize image object with specified theme.
static auto maximize (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 Maximize image object with specified theme and maximized form.
static auto maximize (const xtd::drawing::size &size) -> xtd::drawing::image
 Maximize image object with specified size.
static auto maximize (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 Maximize image object with specified theme and size.
static auto maximize_hovered () -> xtd::drawing::image
 Maximize hovered image object.
static auto maximize_hovered (bool maximized_form) -> xtd::drawing::image
 Maximize hovered image object with specified maximized form.
static auto maximize_hovered (const xtd::string &theme) -> xtd::drawing::image
 Maximize hovered image object with specified theme.
static auto maximize_hovered (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 Maximize hovered image object with specified theme and maximized form.
static auto maximize_hovered (const xtd::drawing::size &size) -> xtd::drawing::image
 Maximize hovered image object with specified size.
static auto maximize_hovered (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 Maximize hovered image object with specified theme and size.
static auto minimize () -> xtd::drawing::image
 Minimize image object.
static auto minimize (bool maximized_form) -> xtd::drawing::image
 Minimize image object with specified maximized form.
static auto minimize (const xtd::string &theme) -> xtd::drawing::image
 Minimize image object with specified theme.
static auto minimize (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 Minimize image object with specified theme and maximized form.
static auto minimize (const xtd::drawing::size &size) -> xtd::drawing::image
 Minimize image object with specified size.
static auto minimize (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 Minimize image object with specified theme and size.
static auto minimize_hovered () -> xtd::drawing::image
 Minimize hovered image object.
static auto minimize_hovered (bool maximized_form) -> xtd::drawing::image
 Minimize hovered image object with specified maximized form.
static auto minimize_hovered (const xtd::string &theme) -> xtd::drawing::image
 Minimize hovered image object with specified theme.
static auto minimize_hovered (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 Minimize hovered image object with specified theme and maximized form.
static auto minimize_hovered (const xtd::drawing::size &size) -> xtd::drawing::image
 Minimize hovered image object with specified size.
static auto minimize_hovered (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 Minimize hovered image object with specified theme and size.
static auto restore () -> xtd::drawing::image
 Restore image object.
static auto restore (bool maximized_form) -> xtd::drawing::image
 Restore image object with specified maximized form.
static auto restore (const xtd::string &theme) -> xtd::drawing::image
 Restore image object with specified theme.
static auto restore (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 Restore image object with specified theme and maximized form.
static auto restore (const xtd::drawing::size &size) -> xtd::drawing::image
 Restore image object with specified size.
static auto restore (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 Restore image object with specified theme and size.
static auto restore_hovered () -> xtd::drawing::image
 Restore hovered image object.
static auto restore_hovered (bool maximized_form) -> xtd::drawing::image
 Restore hovered image object with specified maximized form.
static auto restore_hovered (const xtd::string &theme) -> xtd::drawing::image
 Restore hovered image object with specified theme.
static auto restore_hovered (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 Restore hovered image object with specified theme and maximized form.
static auto restore_hovered (const xtd::drawing::size &size) -> xtd::drawing::image
 Restore hovered image object with specified size.
static auto restore_hovered (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 Restore hovered image object with specified theme and size.
static auto system_menu () -> xtd::drawing::image
 System menu image object.
static auto system_menu (bool maximized_form) -> xtd::drawing::image
 System menu image object with specified maximized form.
static auto system_menu (const xtd::string &theme) -> xtd::drawing::image
 System menu image object with specified theme.
static auto system_menu (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 System menu image object with specified theme and maximized form.
static auto system_menu (const xtd::drawing::size &size) -> xtd::drawing::image
 System menu image object with specified size.
static auto system_menu (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 System menu image object with specified theme and size.
static auto system_menu_hovered () -> xtd::drawing::image
 System menu hovered image object.
static auto system_menu_hovered (bool maximized_form) -> xtd::drawing::image
 System menu hovered image object with specified maximized form.
static auto system_menu_hovered (const xtd::string &theme) -> xtd::drawing::image
 System menu hovered image object with specified theme.
static auto system_menu_hovered (const xtd::string &theme, bool maximized_form) -> xtd::drawing::image
 System menu hovered image object with specified theme and maximized form.
static auto system_menu_hovered (const xtd::drawing::size &size) -> xtd::drawing::image
 System menu hovered image object with specified size.
static auto system_menu_hovered (const xtd::string &theme, const xtd::drawing::size &size) -> xtd::drawing::image
 System menu hovered image object with specified theme and size.
static auto size () -> xtd::drawing::size
 Gets the height and width of the button images.
static auto size (bool maximized_form) -> xtd::drawing::size
 Gets the height and width of the button images with specified maximized form.
static auto from_name (const xtd::string &name) -> xtd::drawing::image
 Gets image object with specified name.
static auto from_name (const xtd::string &theme, const xtd::string &name) -> xtd::drawing::image
 Gets image object with specified theme and name.
static auto from_name (const xtd::string &name, const xtd::drawing::size &size) -> xtd::drawing::image
 Gets image object with specified name and size.
static auto from_name (const xtd::string &theme, const xtd::string &name, const xtd::drawing::size &size) -> xtd::drawing::image
 Gets image object with specified theme, name and size.
static auto from_name (const xtd::string &name, bool maximized_form) -> xtd::drawing::image
 Gets image object with specified name and maximized form.
static auto from_name (const xtd::string &theme, const xtd::string &name, bool maximized_form) -> xtd::drawing::image
 Gets image object with specified theme, name and maximized form.

Member Function Documentation

◆ close() [1/6]

auto xtd::forms::form_button_images::close ( ) -> xtd::drawing::image
staticnodiscard

Close image object.

Returns
A xtd::drawing::image that represent "window-close".

◆ close() [2/6]

auto xtd::forms::form_button_images::close ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

Close image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-close".

◆ close() [3/6]

auto xtd::forms::form_button_images::close ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

Close image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-close".

◆ close() [4/6]

auto xtd::forms::form_button_images::close ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Close image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-close".

◆ close() [5/6]

auto xtd::forms::form_button_images::close ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

Close image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-close".

◆ close() [6/6]

auto xtd::forms::form_button_images::close ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Close image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-close".

◆ close_hovered() [1/6]

auto xtd::forms::form_button_images::close_hovered ( ) -> xtd::drawing::image
staticnodiscard

Close hovered image object.

Returns
A xtd::drawing::image that represent "window-close-hovered".

◆ close_hovered() [2/6]

auto xtd::forms::form_button_images::close_hovered ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

Close hovered image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-close".

◆ close_hovered() [3/6]

auto xtd::forms::form_button_images::close_hovered ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

Close hovered image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-close-hovered".

◆ close_hovered() [4/6]

auto xtd::forms::form_button_images::close_hovered ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Close hovered image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-close-hovered".

◆ close_hovered() [5/6]

auto xtd::forms::form_button_images::close_hovered ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

Close hovered image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-close-hovered".

◆ close_hovered() [6/6]

auto xtd::forms::form_button_images::close_hovered ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Close hovered image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-close-hovered".

◆ fullscreen() [1/6]

auto xtd::forms::form_button_images::fullscreen ( ) -> xtd::drawing::image
staticnodiscard

Fullscreen image object.

Returns
A xtd::drawing::image that represent "window-fullscreen".

◆ fullscreen() [2/6]

auto xtd::forms::form_button_images::fullscreen ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

Fullscreen image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-fullscreen".

◆ fullscreen() [3/6]

auto xtd::forms::form_button_images::fullscreen ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

Fullscreen image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-fullscreen".

◆ fullscreen() [4/6]

auto xtd::forms::form_button_images::fullscreen ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Fullscreen image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-fullscreen".

◆ fullscreen() [5/6]

auto xtd::forms::form_button_images::fullscreen ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

Fullscreen image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-fullscreen".

◆ fullscreen() [6/6]

auto xtd::forms::form_button_images::fullscreen ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Fullscreen image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-close".

◆ fullscreen_hovered() [1/6]

auto xtd::forms::form_button_images::fullscreen_hovered ( ) -> xtd::drawing::image
staticnodiscard

Close image object.

Returns
A xtd::drawing::image that represent "window-fullscreen-hovered".

◆ fullscreen_hovered() [2/6]

auto xtd::forms::form_button_images::fullscreen_hovered ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

Fullscreen hovered image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-fullscreen-hovered".

◆ fullscreen_hovered() [3/6]

auto xtd::forms::form_button_images::fullscreen_hovered ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

Fullscreen hovered image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-fullscreen-hovered".

◆ fullscreen_hovered() [4/6]

auto xtd::forms::form_button_images::fullscreen_hovered ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Fullscreen hovered image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-fullscreen-hovered".

◆ fullscreen_hovered() [5/6]

auto xtd::forms::form_button_images::fullscreen_hovered ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

Fullscreen hovered image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-fullscreen-hovered".

◆ fullscreen_hovered() [6/6]

auto xtd::forms::form_button_images::fullscreen_hovered ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Fullscreen hovered image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-fullscreen-hovered".

◆ maximize() [1/6]

auto xtd::forms::form_button_images::maximize ( ) -> xtd::drawing::image
staticnodiscard

Maximize image object.

Returns
A xtd::drawing::image that represent "window-maximize".

◆ maximize() [2/6]

auto xtd::forms::form_button_images::maximize ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

Maximize image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-maximize".

◆ maximize() [3/6]

auto xtd::forms::form_button_images::maximize ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

Maximize image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-maximize".

◆ maximize() [4/6]

auto xtd::forms::form_button_images::maximize ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Maximize image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-maximize".

◆ maximize() [5/6]

auto xtd::forms::form_button_images::maximize ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

Maximize image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-maximize".

◆ maximize() [6/6]

auto xtd::forms::form_button_images::maximize ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Maximize image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-maximize".

◆ maximize_hovered() [1/6]

auto xtd::forms::form_button_images::maximize_hovered ( ) -> xtd::drawing::image
staticnodiscard

Maximize hovered image object.

Returns
A xtd::drawing::image that represent "window-maximize-hovered".

◆ maximize_hovered() [2/6]

auto xtd::forms::form_button_images::maximize_hovered ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

Maximize hovered image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-maximize-hovered".

◆ maximize_hovered() [3/6]

auto xtd::forms::form_button_images::maximize_hovered ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

Maximize hovered image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-maximize-hovered".

◆ maximize_hovered() [4/6]

auto xtd::forms::form_button_images::maximize_hovered ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Maximize hovered image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-maximize-hovered".

◆ maximize_hovered() [5/6]

auto xtd::forms::form_button_images::maximize_hovered ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

Maximize hovered image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-maximize-hovered".

◆ maximize_hovered() [6/6]

auto xtd::forms::form_button_images::maximize_hovered ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Maximize hovered image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-maximize-hovered".

◆ minimize() [1/6]

auto xtd::forms::form_button_images::minimize ( ) -> xtd::drawing::image
staticnodiscard

Minimize image object.

Returns
A xtd::drawing::image that represent "window-minimize".

◆ minimize() [2/6]

auto xtd::forms::form_button_images::minimize ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

Minimize image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-minimize".

◆ minimize() [3/6]

auto xtd::forms::form_button_images::minimize ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

Minimize image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-minimize".

◆ minimize() [4/6]

auto xtd::forms::form_button_images::minimize ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Minimize image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-minimize".

◆ minimize() [5/6]

auto xtd::forms::form_button_images::minimize ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

Minimize image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-minimize".

◆ minimize() [6/6]

auto xtd::forms::form_button_images::minimize ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Minimize image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-minimize".

◆ minimize_hovered() [1/6]

auto xtd::forms::form_button_images::minimize_hovered ( ) -> xtd::drawing::image
staticnodiscard

Minimize hovered image object.

Returns
A xtd::drawing::image that represent "window-close".

◆ minimize_hovered() [2/6]

auto xtd::forms::form_button_images::minimize_hovered ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

Minimize hovered image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-minimize-hovered".

◆ minimize_hovered() [3/6]

auto xtd::forms::form_button_images::minimize_hovered ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

Minimize hovered image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-minimize-hovered".

◆ minimize_hovered() [4/6]

auto xtd::forms::form_button_images::minimize_hovered ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Minimize hovered image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-minimize-hovered".

◆ minimize_hovered() [5/6]

auto xtd::forms::form_button_images::minimize_hovered ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

Minimize hovered image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-minimize-hovered".

◆ minimize_hovered() [6/6]

auto xtd::forms::form_button_images::minimize_hovered ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Minimize hovered image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-minimize-hovered".

◆ restore() [1/6]

auto xtd::forms::form_button_images::restore ( ) -> xtd::drawing::image
staticnodiscard

Restore image object.

Returns
A xtd::drawing::image that represent "window-restore".

◆ restore() [2/6]

auto xtd::forms::form_button_images::restore ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

Restore image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-restore".

◆ restore() [3/6]

auto xtd::forms::form_button_images::restore ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

Restore image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-restore".

◆ restore() [4/6]

auto xtd::forms::form_button_images::restore ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Restore image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-restore".

◆ restore() [5/6]

auto xtd::forms::form_button_images::restore ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

Restore image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-restore".

◆ restore() [6/6]

auto xtd::forms::form_button_images::restore ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Restore image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-restore".

◆ restore_hovered() [1/6]

auto xtd::forms::form_button_images::restore_hovered ( ) -> xtd::drawing::image
staticnodiscard

Restore hovered image object.

Returns
A xtd::drawing::image that represent "window-restore-hovered".

◆ restore_hovered() [2/6]

auto xtd::forms::form_button_images::restore_hovered ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

Restore hovered image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-restore-hovered".

◆ restore_hovered() [3/6]

auto xtd::forms::form_button_images::restore_hovered ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

Restore hovered image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-restore-hovered".

◆ restore_hovered() [4/6]

auto xtd::forms::form_button_images::restore_hovered ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Restore hovered image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-restore-hovered".

◆ restore_hovered() [5/6]

auto xtd::forms::form_button_images::restore_hovered ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

Restore hovered image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-restore-hovered".

◆ restore_hovered() [6/6]

auto xtd::forms::form_button_images::restore_hovered ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Restore hovered image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-restore-hovered""window-restore-hovered".

◆ system_menu() [1/6]

auto xtd::forms::form_button_images::system_menu ( ) -> xtd::drawing::image
staticnodiscard

System menu image object.

Returns
A xtd::drawing::image that represent "window-system-menu".

◆ system_menu() [2/6]

auto xtd::forms::form_button_images::system_menu ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

System menu image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-system-menu".

◆ system_menu() [3/6]

auto xtd::forms::form_button_images::system_menu ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

System menu image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-system-menu".

◆ system_menu() [4/6]

auto xtd::forms::form_button_images::system_menu ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

System menu image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-system-menu".

◆ system_menu() [5/6]

auto xtd::forms::form_button_images::system_menu ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

System menu image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-system-menu".

◆ system_menu() [6/6]

auto xtd::forms::form_button_images::system_menu ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

System menu image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-system-menu".

◆ system_menu_hovered() [1/6]

auto xtd::forms::form_button_images::system_menu_hovered ( ) -> xtd::drawing::image
staticnodiscard

System menu hovered image object.

Returns
A xtd::drawing::image that represent "window-system-menu-hovered".

◆ system_menu_hovered() [2/6]

auto xtd::forms::form_button_images::system_menu_hovered ( bool maximized_form) -> xtd::drawing::image
staticnodiscard

System menu hovered image object with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-system-menu-hovered".

◆ system_menu_hovered() [3/6]

auto xtd::forms::form_button_images::system_menu_hovered ( const xtd::string & theme) -> xtd::drawing::image
staticnodiscard

System menu hovered image object with specified theme.

Parameters
themea string that represent theme of image.
Returns
A xtd::drawing::image that represent "window-system-menu-hovered".

◆ system_menu_hovered() [4/6]

auto xtd::forms::form_button_images::system_menu_hovered ( const xtd::string & theme,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

System menu hovered image object with specified theme and maximized form.

Parameters
themea string that represent theme of image.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent "window-system-menu-hovered".

◆ system_menu_hovered() [5/6]

auto xtd::forms::form_button_images::system_menu_hovered ( const xtd::drawing::size & size) -> xtd::drawing::image
staticnodiscard

System menu hovered image object with specified size.

Parameters
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-system-menu-hovered".

◆ system_menu_hovered() [6/6]

auto xtd::forms::form_button_images::system_menu_hovered ( const xtd::string & theme,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

System menu hovered image object with specified theme and size.

Parameters
themea string that represent theme of image.
sizea xtd::drawing::size represent the sie of the image.
Returns
A xtd::drawing::image that represent "window-system-menu-hovered".

◆ size() [1/2]

auto xtd::forms::form_button_images::size ( ) -> xtd::drawing::size
staticnodiscard

Gets the height and width of the button images.

Returns
The size that represents the height and width of the button images in pixels.
Remarks
The following table show size by operating system :
Windows macOS linux
{90, 58} {24, 24} {64, 64}

◆ size() [2/2]

auto xtd::forms::form_button_images::size ( bool maximized_form) -> xtd::drawing::size
staticnodiscard

Gets the height and width of the button images with specified maximized form.

Parameters
maximized_formtrue if form is maximized; otherwise false.
Returns
The size that represents the height and width of the button images in pixels.
Remarks
The following table show size by operating system :
maximized form Windows macOS linux
false {90, 58} {24, 24} {64, 64}
true {90, 42} {24, 24} {64, 64}

◆ from_name() [1/6]

auto xtd::forms::form_button_images::from_name ( const xtd::string & name) -> xtd::drawing::image
staticnodiscard

Gets image object with specified name.

Parameters
namethe image name to get.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::context_names to get names by context.

◆ from_name() [2/6]

auto xtd::forms::form_button_images::from_name ( const xtd::string & theme,
const xtd::string & name ) -> xtd::drawing::image
staticnodiscard

Gets image object with specified theme and name.

Parameters
themethe theme name that contains the image to get.
namethe image name to get.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

◆ from_name() [3/6]

auto xtd::forms::form_button_images::from_name ( const xtd::string & name,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Gets image object with specified name and size.

Parameters
namethe image name to get.
sizeThe size that represents the height and width of the button images in pixels.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

◆ from_name() [4/6]

auto xtd::forms::form_button_images::from_name ( const xtd::string & theme,
const xtd::string & name,
const xtd::drawing::size & size ) -> xtd::drawing::image
staticnodiscard

Gets image object with specified theme, name and size.

Parameters
themethe theme name that contains the image to get.
namethe image name to get.
sizeThe size that represents the height and width of the button images in pixels.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

◆ from_name() [5/6]

auto xtd::forms::form_button_images::from_name ( const xtd::string & name,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Gets image object with specified name and maximized form.

Parameters
namethe image name to get.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

◆ from_name() [6/6]

auto xtd::forms::form_button_images::from_name ( const xtd::string & theme,
const xtd::string & name,
bool maximized_form ) -> xtd::drawing::image
staticnodiscard

Gets image object with specified theme, name and maximized form.

Parameters
themethe theme name that contains the image to get.
namethe image name to get.
maximized_formtrue if form is maximized; otherwise false.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.

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