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

◆ auto_check() [1/2]

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

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

Returns
true if the checked value and the appearance of the control automatically change on the click event; otherwise, false. The default value is true.
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.