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

◆ create() [13/16]

static switch_button xtd::forms::switch_button::create ( const control parent,
bool  checked 
)
static

A factory to create a xtd::forms::switch_button with specified parent, text, and checked.

Parameters
parentThe parent that contains the new created xtd::forms::switch_button.
textA string that represent text of the xtd::forms::switch_button.
checkedtrue if the check box is checked; otherwise, false.
Returns
New xtd::forms::switch_button created.