xtd 0.2.0
Loading...
Searching...
No Matches

◆ create() [12/24]

static font_picker xtd::forms::font_picker::create ( const drawing::font font,
const xtd::drawing::color color,
const drawing::point location,
const drawing::size size,
const xtd::ustring name 
)
static

A factory to create an xtd::forms::font_picker with specified font, color, location, size, and name.

Parameters
fontThe selected font.
colorThe color selected by the user. If a color is not selected.
locationA xtd::drawing::point that represent location of the xtd::forms::font_picker.
sizeA xtd::drawing::size that represent size of the xtd::forms::font_picker.
nameThe name of the xtd::forms::font_picker.
Returns
New xtd::forms::font_picker created.