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

◆ check_state() [2/2]

virtual toggle_button & xtd::forms::toggle_button::check_state ( forms::check_state  check_state)
virtual

Sets the state of the toggle_button.

Parameters
chexk_stateOne of the check_state enumeration values. The default value is unchecked.
Remarks
The following table describes the xtd::forms::appearance of the toggle_button control in its different states for the normal and button style control toggle_button::appearance.
Check_state appearance::normal appearance::button
checked The toggle_button displays a check mark. The control appears sunken.
unchecked The CheckBox is empty. The control appears raised.
indeterminate The CheckBox displays a check mark and is shaded. The control appears flat.