|
static |
A factory to create a xtd::forms::switch_button with specified parent, text, checked, location, and size.
parent | The parent that contains the new created xtd::forms::switch_button. |
text | A string that represent text of the xtd::forms::switch_button. |
checked | true if the check box is checked; otherwise, false. |
location | A xtd::drawing::point that represent location of the xtd::forms::switch_button. |
size | A xtd::drawing::size that represent size of the xtd::forms::switch_button. |