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

◆ auto_check() [2/2]

virtual check_box & xtd::forms::check_box::auto_check ( bool  auto_check)
virtual

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

Parameters
auto_checktrue 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.