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

◆ create() [20/32]

static toggle_button xtd::forms::toggle_button::create ( const control parent,
const drawing::point location,
const drawing::size size,
const xtd::string name 
)
static

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

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