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

◆ create() [10/32]

static toggle_button xtd::forms::toggle_button::create ( const xtd::ustring text,
xtd::forms::check_state  check_state,
const drawing::point location 
)
static

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

Parameters
textA string that represent text of the xtd::forms::toggle_button.
check_stateOne of the check_state enumeration values.
locationA xtd::drawing::point that represent location of the xtd::forms::toggle_button.
Returns
New xtd::forms::toggle_button created.