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

Definition

Contains font picker native API.

Namespace
xtd::forms::native
Library
xtd.forms.native
Warning
Internal use only

Protected Static Methods

static drawing::color color (intptr control)
 Gets the color selected by the user.
 
static void color (intptr control, const drawing::color &color)
 Sets the color selected by the user.
 
static drawing::font font (intptr control)
 Gets the selected font.
 
static void font (intptr control, const drawing::font &font)
 Sets the selected font.
 

Member Function Documentation

◆ color() [1/2]

static drawing::color xtd::forms::native::font_picker::color ( intptr  control)
staticprotected

Gets the color selected by the user.

Parameters
controlControl window handle.
Returns
The color selected by the user. If a color is not selected, the default value is black.
Warning
Internal use only

◆ color() [2/2]

static void xtd::forms::native::font_picker::color ( intptr  control,
const drawing::color color 
)
staticprotected

Sets the color selected by the user.

Parameters
controlControl window handle.
colorThe color selected by the user. If a color is not selected, the default value is black.
Warning
Internal use only

◆ font() [1/2]

static drawing::font xtd::forms::native::font_picker::font ( intptr  control)
staticprotected

Gets the selected font.

Parameters
controlControl window handle.
Returns
The selected font.
Warning
Internal use only

◆ font() [2/2]

static void xtd::forms::native::font_picker::font ( intptr  control,
const drawing::font font 
)
staticprotected

Sets the selected font.

Parameters
controlControl window handle.
fontThe selected font.
Warning
Internal use only

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