|
static |
A factory to create a xtd::forms::toggle_button with specified parent, text, and check_state.
parent | The parent that contains the new created xtd::forms::toggle_button. |
text | A string that represent text of the xtd::forms::toggle_button. |
check_state | One of the check_state enumeration values. |