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

◆ create() [31/34]

static check_box xtd::forms::check_box::create ( const control parent,
const xtd::ustring text,
bool  three_state,
xtd::forms::check_state  check_state 
)
static

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

Parameters
parentThe parent that contains the new created xtd::forms::check_box.
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.
Returns
New xtd::forms::check_box created.