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

◆ checked() [1/2]

virtual bool xtd::forms::toggle_button::checked ( ) const
virtualnoexcept

Gets a value indicating whether the toggle_button is in the checked state.

Returns
true if the toggle_button is in the checked state; otherwise, false. The default value is false. If the three_state property is set to true, the checked property will return true for either a checked or indeterminate check_state.
Remarks
When the value is true, the toggle_button portion of the control displays a check mark. If the appearance property is set to button, the control will appear sunken when checked is true and raised like a standard button when false.