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

◆ create() [16/16]

static color_picker xtd::forms::color_picker::create ( const control parent,
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::color_picker with specified parent, color, location, size, and name.

Parameters
parentThe parent that contains the new created xtd::forms::color_picker.
colorThe color selected by the user. If a color is not selected.
locationA xtd::drawing::point that represent location of the xtd::forms::color_picker.
sizeA xtd::drawing::size that represent size of the xtd::forms::color_picker.
nameThe name of the xtd::forms::color_picker.
Returns
New xtd::forms::color_picker created.