20 writes to Checked
Accessibility_Core_App (3)
CommonControl2.Designer.cs (1)
110this.radioButton1.Checked = true;
ContainerControls.Designer.cs (1)
350this.radioButton3.Checked = true;
ContainerControls2.Designer.cs (1)
201this.radioButton3.Checked = true;
DesignSurface (1)
MainForm.cs (1)
140rb2.Checked = true;
PresentationUI (2)
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (1)
170this._networkRadioButton.Checked = true;
MS\Internal\Documents\RMPublishingDialog.cs (1)
90radioButtonPermissions.Checked = true;
System.Windows.Forms (2)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (2)
360Checked = true; 420radioButton.Checked = false;
System.Windows.Forms.Design (6)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
235_radioAuto.Checked = true;
System\Drawing\Design\SelectionPanelBase.cs (2)
124radioButton.Checked = false; 131CheckedControl.Checked = true;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (3)
183_dataBoundColumnRadioButton.Checked = true; 189_unboundColumnRadioButton.Checked = true; 287_dataBoundColumnRadioButton.Checked = true;
System.Windows.Forms.Tests (4)
System\Windows\Forms\ControlTests.cs (2)
876using RadioButton radioButton1 = new() { Checked = true }; 878using RadioButton radioButton2 = new() { Checked = false };
System\Windows\Forms\RadioButtonTests.cs (2)
533Checked = true 556Checked = true
WinFormsControlsTest (2)
Buttons.cs (1)
55Checked = true
TrackBars.Designer.cs (1)
71this.rbHorizontal.Checked = true;
45 references to Checked
PresentationUI (7)
MS\Internal\Documents\RMEnrollmentPage2.cs (2)
59if (_networkRadioButton.Checked) 64if (_passportRadioButton.Checked)
MS\Internal\Documents\RMPublishingDialog.cs (5)
164return (radioButtonPermissions.Checked) ? _rmLicenses : null; 220if (radioButtonTemplate.Checked && (comboBoxTemplates.SelectedIndex < _templates.Count)) 599if (this.radioButtonUnrestricted.Checked) 608else if (this.radioButtonPermissions.Checked) 615else if (this.radioButtonTemplate.Checked)
System.Windows.Forms (19)
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (2)
135if (!Control.Checked) 172if (Control.Checked)
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonFlatAdapter.cs (3)
19adapter.PaintDown(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 39adapter.PaintOver(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 59adapter.PaintUp(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonPopupAdapter.cs (3)
17adapter.PaintUp(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 46adapter.PaintOver(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 71adapter.PaintDown(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonStandardAdapter.cs (3)
14ButtonAdapter.PaintUp(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 33ButtonAdapter.PaintDown(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 45ButtonAdapter.PaintOver(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (6)
16[DefaultProperty(nameof(Checked))] 18[DefaultBindingProperty(nameof(Checked))] 54/// Gets or sets a value indicating whether the <see cref="Checked"/> value and the appearance of 314/// value of the <see cref="Checked"/> 418&& radioButton.Checked) 523public override string ToString() => $"{base.ToString()}, Checked: {Checked}";
System\Windows\Forms\Controls\Buttons\RadioButton.RadioButtonAccessibleObject.cs (2)
23this.TryGetOwnerAs(out RadioButton? owner) && owner.Checked 27internal override bool IsItemSelected => this.TryGetOwnerAs(out RadioButton? owner) && owner.Checked;
System.Windows.Forms.Design (12)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (4)
65if (_radioAuto.Checked) 73if (_radioHex.Checked) 81if (_radioAnsi.Checked) 89if (_radioUnicode.Checked)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (8)
114if (_dataBoundColumnRadioButton.Checked && _dataColumns.SelectedIndex > -1) 483_columnInDataSourceLabel.Enabled = _dataBoundColumnRadioButton.Checked; 484_dataColumns.Enabled = _dataBoundColumnRadioButton.Checked; 506if (_unboundColumnRadioButton.Checked) 592if (_dataBoundColumnRadioButton.Checked) 598Debug.Assert(_unboundColumnRadioButton.Checked, "we only have 2 radio buttons"); 617if (_dataBoundColumnRadioButton.Checked) 624Debug.Assert(_unboundColumnRadioButton.Checked, "We only have 2 radio buttons");
System.Windows.Forms.Tests (7)
System\Windows\Forms\RadioButtonTests.cs (7)
43Assert.False(control.Checked); 747Assert.Equal(autoCheck, control.Checked); 755Assert.Equal(autoCheck, control.Checked); 762Assert.Equal(autoCheck, control.Checked); 794Assert.Equal(autoCheck, control.Checked); 802Assert.Equal(autoCheck, control.Checked); 812Assert.Equal(autoCheck, control.Checked);