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

◆ auto_check() [1/2]

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

Gets a value indicating whether the checked and the switch_button's appearance are automatically changed when the switch_button is clicked.

Returns
true if the checked 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 in the click event handler.