xtd 0.2.0
Loading...
Searching...
No Matches
xtd::forms::button_images Class Referencefinal
Inheritance diagram for xtd::forms::button_images:
xtd::static_object

Definition

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

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

Static porperties

static xtd::drawing::image add ()
 Add image object.
 
static xtd::drawing::image add (const xtd::string &theme)
 Add image object with specified theme.
 
static xtd::drawing::image add (const xtd::drawing::size &size)
 Add image object with specified size.
 
static xtd::drawing::image add (const xtd::string &theme, const xtd::drawing::size &size)
 Add image object with specified theme and size.
 
static xtd::drawing::image apply ()
 Apply image object.
 
static xtd::drawing::image apply (const xtd::string &theme)
 Apply image object with specified theme.
 
static xtd::drawing::image apply (const xtd::drawing::size &size)
 Apply image object with specified size.
 
static xtd::drawing::image apply (const xtd::string &theme, const xtd::drawing::size &size)
 Apply image object with specified theme and size.
 
static xtd::drawing::image ok ()
 Ok image object.
 
static xtd::drawing::image ok (const xtd::string &theme)
 Ok image object with specified theme.
 
static xtd::drawing::image ok (const xtd::drawing::size &size)
 Ok image object with specified size.
 
static xtd::drawing::image ok (const xtd::string &theme, const xtd::drawing::size &size)
 Ok image object with specified theme and size.
 
static xtd::drawing::image cancel ()
 Cancel image object.
 
static xtd::drawing::image cancel (const xtd::string &theme)
 Cancel image object with specified theme.
 
static xtd::drawing::image cancel (const xtd::drawing::size &size)
 Cancel image object with specified size.
 
static xtd::drawing::image cancel (const xtd::string &theme, const xtd::drawing::size &size)
 Cancel image object with specified theme and size.
 
static xtd::drawing::image next ()
 Next image object.
 
static xtd::drawing::image next (const xtd::string &theme)
 Next image object with specified theme.
 
static xtd::drawing::image next (const xtd::drawing::size &size)
 Next image object with specified size.
 
static xtd::drawing::image next (const xtd::string &theme, const xtd::drawing::size &size)
 Next image object with specified theme and size.
 
static xtd::drawing::image no ()
 No image object.
 
static xtd::drawing::image no (const xtd::string &theme)
 No image object with specified theme.
 
static xtd::drawing::image no (const xtd::drawing::size &size)
 No image object with specified size.
 
static xtd::drawing::image no (const xtd::string &theme, const xtd::drawing::size &size)
 No image object with specified theme and size.
 
static xtd::drawing::image previous ()
 Previous image object.
 
static xtd::drawing::image previous (const xtd::string &theme)
 Previous image object with specified theme.
 
static xtd::drawing::image previous (const xtd::drawing::size &size)
 Previous image object with specified size.
 
static xtd::drawing::image previous (const xtd::string &theme, const xtd::drawing::size &size)
 Previous image object with specified theme and size.
 
static xtd::drawing::image remove ()
 Remove image object.
 
static xtd::drawing::image remove (const xtd::string &theme)
 Remove image object with specified theme.
 
static xtd::drawing::image remove (const xtd::drawing::size &size)
 Remove image object with specified size.
 
static xtd::drawing::image remove (const xtd::string &theme, const xtd::drawing::size &size)
 Remove image object with specified theme and size.
 
static xtd::drawing::image yes ()
 Yes image object.
 
static xtd::drawing::image yes (const xtd::string &theme)
 Yes image object with specified theme.
 
static xtd::drawing::image yes (const xtd::drawing::size &size)
 Yes image object with specified size.
 
static xtd::drawing::image yes (const xtd::string &theme, const xtd::drawing::size &size)
 Yes image object with specified theme and size.
 
static xtd::drawing::size size ()
 Gets the height and width of the button images.
 

Public Static Methods

static xtd::drawing::image from_name (const xtd::string &name)
 Gets image object with specified name.
 
static xtd::drawing::image from_name (const xtd::string &theme, const xtd::string &name)
 Gets image object with specified theme and name.
 
static xtd::drawing::image from_name (const xtd::string &name, const xtd::drawing::size &size)
 Gets image object with specified name and size.
 
static xtd::drawing::image from_name (const xtd::string &theme, const xtd::string &name, const xtd::drawing::size &size)
 Gets image object with specified theme, name and size.
 

Member Function Documentation

◆ add() [1/4]

static xtd::drawing::image xtd::forms::button_images::add ( )
inlinestatic

Add image object.

Returns
A xtd::drawing::image that represent "list-add".

◆ add() [2/4]

static xtd::drawing::image xtd::forms::button_images::add ( const xtd::string theme)
inlinestatic

Add image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "list-add".

◆ add() [3/4]

static xtd::drawing::image xtd::forms::button_images::add ( const xtd::drawing::size size)
inlinestatic

Add image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "list-add".

◆ add() [4/4]

static xtd::drawing::image xtd::forms::button_images::add ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Add image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "list-add".

◆ apply() [1/4]

static xtd::drawing::image xtd::forms::button_images::apply ( )
inlinestatic

Apply image object.

Returns
A xtd::drawing::image that represent "dialog-ok-apply".

◆ apply() [2/4]

static xtd::drawing::image xtd::forms::button_images::apply ( const xtd::string theme)
inlinestatic

Apply image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "dialog-ok-apply".

◆ apply() [3/4]

static xtd::drawing::image xtd::forms::button_images::apply ( const xtd::drawing::size size)
inlinestatic

Apply image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok-apply".

◆ apply() [4/4]

static xtd::drawing::image xtd::forms::button_images::apply ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Apply image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok-apply".

◆ ok() [1/4]

static xtd::drawing::image xtd::forms::button_images::ok ( )
inlinestatic

Ok image object.

Returns
A xtd::drawing::image that represent "dialog-ok".

◆ ok() [2/4]

static xtd::drawing::image xtd::forms::button_images::ok ( const xtd::string theme)
inlinestatic

Ok image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ ok() [3/4]

static xtd::drawing::image xtd::forms::button_images::ok ( const xtd::drawing::size size)
inlinestatic

Ok image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ ok() [4/4]

static xtd::drawing::image xtd::forms::button_images::ok ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Ok image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ cancel() [1/4]

static xtd::drawing::image xtd::forms::button_images::cancel ( )
inlinestatic

Cancel image object.

Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ cancel() [2/4]

static xtd::drawing::image xtd::forms::button_images::cancel ( const xtd::string theme)
inlinestatic

Cancel image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ cancel() [3/4]

static xtd::drawing::image xtd::forms::button_images::cancel ( const xtd::drawing::size size)
inlinestatic

Cancel image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ cancel() [4/4]

static xtd::drawing::image xtd::forms::button_images::cancel ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Cancel image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ next() [1/4]

static xtd::drawing::image xtd::forms::button_images::next ( )
inlinestatic

Next image object.

Returns
A xtd::drawing::image that represent "go-next".

◆ next() [2/4]

static xtd::drawing::image xtd::forms::button_images::next ( const xtd::string theme)
inlinestatic

Next image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "go-next".

◆ next() [3/4]

static xtd::drawing::image xtd::forms::button_images::next ( const xtd::drawing::size size)
inlinestatic

Next image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-next".

◆ next() [4/4]

static xtd::drawing::image xtd::forms::button_images::next ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Next image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-next".

◆ no() [1/4]

static xtd::drawing::image xtd::forms::button_images::no ( )
inlinestatic

No image object.

Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ no() [2/4]

static xtd::drawing::image xtd::forms::button_images::no ( const xtd::string theme)
inlinestatic

No image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ no() [3/4]

static xtd::drawing::image xtd::forms::button_images::no ( const xtd::drawing::size size)
inlinestatic

No image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ no() [4/4]

static xtd::drawing::image xtd::forms::button_images::no ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

No image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-cancel".

◆ previous() [1/4]

static xtd::drawing::image xtd::forms::button_images::previous ( )
inlinestatic

Previous image object.

Returns
A xtd::drawing::image that represent "go-previous".

◆ previous() [2/4]

static xtd::drawing::image xtd::forms::button_images::previous ( const xtd::string theme)
inlinestatic

Previous image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "go-previous".

◆ previous() [3/4]

static xtd::drawing::image xtd::forms::button_images::previous ( const xtd::drawing::size size)
inlinestatic

Previous image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-previous".

◆ previous() [4/4]

static xtd::drawing::image xtd::forms::button_images::previous ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Previous image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "go-previous".

◆ remove() [1/4]

static xtd::drawing::image xtd::forms::button_images::remove ( )
inlinestatic

Remove image object.

Returns
A xtd::drawing::image that represent "list-remove".

◆ remove() [2/4]

static xtd::drawing::image xtd::forms::button_images::remove ( const xtd::string theme)
inlinestatic

Remove image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "list-remove".

◆ remove() [3/4]

static xtd::drawing::image xtd::forms::button_images::remove ( const xtd::drawing::size size)
inlinestatic

Remove image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "list-remove".

◆ remove() [4/4]

static xtd::drawing::image xtd::forms::button_images::remove ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Remove image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "list-remove".

◆ yes() [1/4]

static xtd::drawing::image xtd::forms::button_images::yes ( )
inlinestatic

Yes image object.

Returns
A xtd::drawing::image that represent add.

◆ yes() [2/4]

static xtd::drawing::image xtd::forms::button_images::yes ( const xtd::string theme)
inlinestatic

Yes image object with specified theme.

Parameters
themeA string that represent a theme
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ yes() [3/4]

static xtd::drawing::image xtd::forms::button_images::yes ( const xtd::drawing::size size)
inlinestatic

Yes image object with specified size.

Parameters
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ yes() [4/4]

static xtd::drawing::image xtd::forms::button_images::yes ( const xtd::string theme,
const xtd::drawing::size size 
)
inlinestatic

Yes image object with specified theme and size.

Parameters
themeA string that represent a theme
sizeA xtd::drawing::size size for the image
Returns
A xtd::drawing::image that represent "dialog-ok".

◆ size()

static xtd::drawing::size xtd::forms::button_images::size ( )
inlinestatic

Gets the height and width of the button images.

Returns
The size that represents the height and width of the button images in pixels (16 x 16).

◆ from_name() [1/4]

static xtd::drawing::image xtd::forms::button_images::from_name ( const xtd::string name)
inlinestatic

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/4]

static xtd::drawing::image xtd::forms::button_images::from_name ( const xtd::string theme,
const xtd::string name 
)
inlinestatic

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/4]

static xtd::drawing::image xtd::forms::button_images::from_name ( const xtd::string name,
const xtd::drawing::size size 
)
inlinestatic

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/4]

static xtd::drawing::image xtd::forms::button_images::from_name ( const xtd::string theme,
const xtd::string name,
const xtd::drawing::size size 
)
inlinestatic

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.

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