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

◆ create() [27/32]

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

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

Parameters
parentThe parent that contains the new created xtd::forms::toggle_button.
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.
sizeA xtd::drawing::size that represent size of the xtd::forms::toggle_button.
Returns
New xtd::forms::toggle_button created.