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

◆ create() [29/34]

static check_box xtd::forms::check_box::create ( const control parent,
const xtd::ustring text,
xtd::forms::check_state  check_state,
const drawing::point location,
const drawing::size size,
const xtd::ustring name 
)
static

A factory to create a xtd::forms::check_box with specified parent, text, check_state, location, size, and name.

Parameters
parentThe parent that contains the new created xtd::forms::check_box.
textA string that represent text of the xtd::forms::check_box.
check_stateOne of the xtd::forms::check_state enumeration values.
locationA xtd::drawing::point that represent location of the xtd::forms::check_box.
sizeA xtd::drawing::size that represent size of the xtd::forms::check_box.
nameThe name of the xtd::forms::check_box.
Returns
New xtd::forms::check_box created.