75 writes to Checked
Accessibility_Core_App (3)
CommonControl1.Designer.cs (1)
291this.checkBox1.Checked = true;
ContainerControls.Designer.cs (1)
338this.checkBox2.Checked = true;
ContainerControls2.Designer.cs (1)
189this.checkBox2.Checked = true;
PresentationUI (5)
MS\Internal\Documents\RMPublishingDialog.cs (4)
48checkBoxValidUntil.Checked = false; 59checkBoxPermissionsContact.Checked = true; 83checkBoxPermissionsContact.Checked = false; 115checkBoxValidUntil.Checked = true;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
119_addDocPropCheckBox.Checked = true;
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\CheckBox.CheckBoxAccessibleObject.cs (1)
90owner.Checked = !owner.Checked;
System.Windows.Forms.Design (48)
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (1)
62_checkBox.Checked = (bool)Value!;
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (39)
188_noneCheckBox.Checked = false; 194_allCheckBox.Checked = false; 209_noneCheckBox.Checked = false; 215_allCheckBox.Checked = false; 230_noneCheckBox.Checked = false; 236_allCheckBox.Checked = false; 251_noneCheckBox.Checked = false; 257_allCheckBox.Checked = false; 272_allCheckBox.Checked = false; 273_topCheckBox.Checked = false; 274_bottomCheckBox.Checked = false; 275_leftCheckBox.Checked = false; 276_rightCheckBox.Checked = false; 290_noneCheckBox.Checked = false; 291_topCheckBox.Checked = true; 292_bottomCheckBox.Checked = true; 293_leftCheckBox.Checked = true; 294_rightCheckBox.Checked = true; 307_noneCheckBox.Checked = true; 318_allCheckBox.Checked = true; 327_allCheckBox.Checked = false; 328_noneCheckBox.Checked = false; 329_topCheckBox.Checked = false; 330_bottomCheckBox.Checked = false; 331_leftCheckBox.Checked = false; 332_rightCheckBox.Checked = false; 343_allCheckBox.Checked = true; 344_topCheckBox.Checked = true; 345_bottomCheckBox.Checked = true; 346_leftCheckBox.Checked = true; 347_rightCheckBox.Checked = true; 348_allCheckBox.Checked = true; 352_noneCheckBox.Checked = sides.HasFlag(ToolStripStatusLabelBorderSides.None); 353_topCheckBox.Checked = sides.HasFlag(ToolStripStatusLabelBorderSides.Top); 354_bottomCheckBox.Checked = sides.HasFlag(ToolStripStatusLabelBorderSides.Bottom); 355_leftCheckBox.Checked = sides.HasFlag(ToolStripStatusLabelBorderSides.Left); 356_rightCheckBox.Checked = sides.HasFlag(ToolStripStatusLabelBorderSides.Right); 426_noneCheckBox.Checked = true; 434_allCheckBox.Checked = true;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
350_visibleCheckBox.Checked = true;
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
206_checkBoxUseValidatingType.Checked = true;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (6)
85_ctrlCheckBox.Checked = false; 86_altCheckBox.Checked = false; 87_shiftCheckBox.Checked = false; 327_ctrlCheckBox.Checked = (keys & Keys.Control) != 0; 328_altCheckBox.Checked = (keys & Keys.Alt) != 0; 329_shiftCheckBox.Checked = (keys & Keys.Shift) != 0;
System.Windows.Forms.Tests (6)
System\Windows\Forms\AccessibleObjects\CheckBox.CheckBoxAccessibleObjectTests.cs (1)
60checkBox.Checked = true;
System\Windows\Forms\CheckBoxTests.cs (3)
215Checked = sent 541checkBox.Checked = true; 757checkBox.Checked = !checkBox.Checked;
System\Windows\Forms\ControlTests.cs (2)
887using CheckBox checkBox1 = new() { Checked = true }; 889using CheckBox checkBox2 = new() { Checked = true };
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
699_useCustomCursorsCheck.Checked = false;
WinFormsControlsTest (11)
Buttons.cs (1)
76Checked = true
Calendar.cs (2)
15showWeekNumbersCheckBox.Checked = monthCalendar1.ShowWeekNumbers; 16showTodayCheckBox.Checked = monthCalendar1.ShowToday;
ComboBoxesWithScrollBars.cs (8)
36integralHeightCheckBox1.Checked = comboBox1.IntegralHeight; 37integralHeightCheckBox2.Checked = comboBox2.IntegralHeight; 38integralHeightCheckBox3.Checked = comboBox3.IntegralHeight; 41useDifferentHeightsCheckBox1.Checked = comboBox1.DrawMode == DrawMode.OwnerDrawVariable; 42useDifferentHeightsCheckBox2.Checked = comboBox2.DrawMode == DrawMode.OwnerDrawVariable; 43useDifferentHeightsCheckBox3.Checked = comboBox3.DrawMode == DrawMode.OwnerDrawVariable; 52integralHeightCheckBox1.Checked = false; 58integralHeightCheckBox3.Checked = false;
66 references to Checked
PresentationUI (6)
MS\Internal\Documents\RMPublishingDialog.cs (4)
176if (checkBoxValidUntil.Checked) 458if (checkBoxPermissionsContact.Checked) 632datePickerValidUntil.Enabled = checkBoxValidUntil.Checked; 642textBoxPermissionsContact.Enabled = checkBoxPermissionsContact.Checked;
MS\Internal\Documents\SigningDialog.cs (2)
300return _addDocPropCheckBox.Checked; 311return _addDigSigCheckBox.Checked;
System.Windows.Forms (11)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
139Control.Checked,
System\Windows\Forms\Controls\Buttons\CheckBox.CheckBoxAccessibleObject.cs (2)
16? owner.AccessibleDefaultActionDescription ?? (owner.Checked ? SR.AccessibleActionUncheck : SR.AccessibleActionCheck) 90owner.Checked = !owner.Checked;
System\Windows\Forms\Controls\Buttons\CheckBox.cs (6)
16[DefaultProperty(nameof(Checked))] 99/// Gets or sets a value indicating whether the <see cref="Checked"/> or <see cref="CheckState"/> 154if (value != Checked) 181bool oldChecked = Checked; 190bool checkedChanged = oldChecked != Checked; 351/// Occurs when the value of the <see cref="Checked"/> property changes.
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
115/// Occurs when the value of the <see cref="CheckBox.Checked"/> property changes.
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
318/// Occurs when the value of the <see cref="CheckBox.Checked"/> property changes.
System.Windows.Forms.Design (24)
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (1)
48SetValue(_checkBox.Checked);
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (16)
186if (senderCheckBox.Checked) 192if (_allCheckBox.Checked) 207if (senderCheckBox.Checked) 213if (_allCheckBox.Checked) 228if (senderCheckBox.Checked) 234if (_allCheckBox.Checked) 249if (senderCheckBox.Checked) 255if (_allCheckBox.Checked) 270if (senderCheckBox.Checked) 288if (senderCheckBox.Checked) 388if (_allCheckBox.Checked) 397if (_noneCheckBox.Checked) 402if (_topCheckBox.Checked) 407if (_bottomCheckBox.Checked) 412if (_leftCheckBox.Checked) 417if (_rightCheckBox.Checked)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (3)
110column.Visible = _visibleCheckBox.Checked; 111column.Frozen = _frozenCheckBox.Checked || forceColumnFrozen; 112column.ReadOnly = _readOnlyCheckBox.Checked;
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
586if (_checkBoxUseValidatingType.Checked)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (3)
362if (_ctrlCheckBox.Checked) 367if (_altCheckBox.Checked) 372if (_shiftCheckBox.Checked)
System.Windows.Forms.Tests (7)
System\Windows\Forms\AccessibleObjects\CheckBox.CheckBoxAccessibleObjectTests.cs (3)
246Assert.False(checkBox.Checked); 249Assert.True(checkBox.Checked); 254Assert.False(checkBox.Checked);
System\Windows\Forms\CheckBoxTests.cs (4)
43Assert.False(control.Checked); 239Assert.Equal(expectedChecked, box.Checked); 261Assert.Equal(expectedChecked, box.Checked); 757checkBox.Checked = !checkBox.Checked;
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
741if (_useCustomCursorsCheck.Checked)
WinFormsControlsTest (17)
Calendar.cs (2)
73monthCalendar1.ShowWeekNumbers = showWeekNumbersCheckBox.Checked; 78monthCalendar1.ShowToday = showTodayCheckBox.Checked;
ComboBoxesWithScrollBars.cs (6)
63integralHeightCheckBox1.CheckedChanged += (s, e) => comboBox1.IntegralHeight = integralHeightCheckBox1.Checked; 64integralHeightCheckBox2.CheckedChanged += (s, e) => comboBox2.IntegralHeight = integralHeightCheckBox2.Checked; 65integralHeightCheckBox3.CheckedChanged += (s, e) => comboBox3.IntegralHeight = integralHeightCheckBox3.Checked; 75bool isChecked = useDifferentHeightsCheckBox1.Checked; 91bool isChecked = useDifferentHeightsCheckBox2.Checked; 107bool isChecked = useDifferentHeightsCheckBox3.Checked;
MdiChild.cs (6)
38if (chkSetMenustrip.Checked) 50if (chkSetParentMenustrip.Checked) 62if (chkAddMenustrip.Checked) 74if (chkAddParentMenustrip.Checked) 91MyParent.MdiChildrenMinimizedAnchorBottom = !chkChildAlign.Checked; 98MyParent.MainMenuStrip.RightToLeft = chkRightToLeft.Checked ? RightToLeft.Yes : RightToLeft.No;
ScrollBars.cs (1)
43hScrollBar.RightToLeft = chbRightToLeft.Checked ? RightToLeft.Yes : RightToLeft.No;
TrackBars.cs (2)
56trackBar1.RightToLeft = chbRightToLeft.Checked ? RightToLeft.Yes : RightToLeft.No; 109trackBar1.RightToLeftLayout = chbRightToLeftLayout.Checked;