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

◆ create() [5/16]

static switch_button xtd::forms::switch_button::create ( bool  checked)
static

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

Parameters
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.