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

◆ auto_check() [2/2]

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

Sets a value indicating whether the checked value and the appearance of the control automatically change when the control is clicked.

Parameters
auto_checktrue if the checked value and the appearance of the control automatically change on the click event; otherwise, false. The default value is true.
Returns
Current radio_button instance.
Remarks
If the checked value is set to false, the radio_button portion of the control must be checked in code in the click event handler. In addition, if the radio_button is part of a radio_button control group, this property ensures that only one of the controls is checked at a given time.
If the auto_check property is set to false, a group of radio_button controls will not act as a mutually exclusive group and the checked property must be updated in code.