|
static |
A factory to create a xtd::forms::switch_button with specified parent, text, and checked.
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. |