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

◆ auto_check() [1/2]

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

Gets a value indicating whether the checked or check_state values and the toggle_button's appearance are automatically changed when the toggle_button is clicked.

Returns
true if the checked value or check_state value and the appearance of the control are automatically changed on the click event; otherwise, false. The default value is true.
Remarks
If auto_check is set to false, you will need to add code to update the checked or check_state values in the click event handler.