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

◆ create() [15/34]

static check_box xtd::forms::check_box::create ( const xtd::ustring text,
bool  three_state,
xtd::forms::check_state  check_state,
const drawing::point location 
)
static

A factory to create an xtd::forms::check_box with specified text, three_state, check_state, and location.

Parameters
textA string that represent text of the xtd::forms::check_box.
three_statetrue if the check_box is able to display three check states; otherwise, false.
check_stateOne of the xtd::forms::check_state enumeration values.
locationA xtd::drawing::point that represent location of the xtd::forms::check_box.
Returns
New xtd::forms::check_box created.