System.Windows.Forms.RadioButton.AutoCheck Property

Gets or sets a value indicating whether the RadioButton.Checked value and the appearance of the control automatically change when the control is clicked.

Syntax

[System.ComponentModel.DefaultValue(true)]
public bool AutoCheck { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the RadioButton.Checked value is set to false, the System.Windows.Forms.RadioButton portion of the control must be checked in code in the Control.Click event handler. In addition, if the System.Windows.Forms.RadioButton is part of a System.Windows.Forms.RadioButton control group, this property ensures that only one of the controls is checked at a given time.

If the RadioButton.AutoCheck property is set to false, a group of System.Windows.Forms.RadioButton controls will not act as a mutually exclusive group and the RadioButton.Checked property must be updated in code.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0