67 references to Checked
PresentationUI (1)
MS\Internal\Documents\SigningDialog.Designer.cs (1)
120_addDocPropCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
System.Windows.Forms (64)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (8)
29check: !hasCustomBorder && SystemInformation.HighContrast && state == CheckState.Checked, 46case CheckState.Checked: 58case CheckState.Checked: 99else if (state == CheckState.Checked && SystemInformation.HighContrast) 122!hasCustomBorder && SystemInformation.HighContrast && state == CheckState.Checked, 144case CheckState.Checked: 187else if (state == CheckState.Checked && SystemInformation.HighContrast) 229? state is CheckState.Checked or CheckState.Indeterminate
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
184if (controlCheckState == CheckState.Checked)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (1)
211CheckState.Checked => PushButtonState.Pressed,
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonFlatAdapter.cs (3)
17adapter.PaintDown(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 37adapter.PaintOver(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 57adapter.PaintUp(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonPopupAdapter.cs (3)
15adapter.PaintUp(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 44adapter.PaintOver(e, Control.Checked ? CheckState.Checked : CheckState.Unchecked); 69adapter.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\CheckBox.CheckBoxAccessibleObject.cs (4)
27CheckState.Checked => AccessibleStates.Checked | base.State, 35CheckState.Checked => ToggleState.ToggleState_On, 83CheckState.Unchecked => CheckState.Checked, 84CheckState.Checked => CheckState.Indeterminate,
System\Windows\Forms\Controls\Buttons\CheckBox.cs (3)
177CheckState = value ? CheckState.Checked : CheckState.Unchecked; 460CheckState = CheckState.Checked; 462case CheckState.Checked:
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (18)
71if (valueAsCheckState == CheckState.Checked) 139return CheckState.Checked; 343if ((!EditingCellValueChanged && FormattedValue is CheckState checkState2 && checkState2 == CheckState.Checked) || 346return CheckState.Checked; 352return CheckState.Checked; 566CheckState.Checked => CheckState.Checked, 581value = CheckState.Checked; 616if (retCheckState == CheckState.Checked) 957CheckState.Checked => string.Format(SR.DataGridViewCheckBoxCellCheckedStateDescription, cellName), 1097checkState = CheckState.Checked; 1429checkState is CheckState.Checked or CheckState.Indeterminate, 1479checkState is CheckState.Checked or CheckState.Indeterminate, 1526checkState is CheckState.Checked or CheckState.Indeterminate, 1589return CheckState.Checked; 1612case CheckState.Checked: 1623return CheckState.Checked; 1685editingCell.EditingCellFormattedValue = CheckState.Checked;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (2)
37CheckState.Checked => AccessibleStates.Checked | base.State, 160CheckState.Checked => ToggleState.ToggleState_On,
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (2)
160return CheckState.Checked; 181case CheckState.Checked:
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxItemAccessibleObject.cs (2)
84case CheckState.Checked: 119case CheckState.Checked:
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (3)
431: CheckState.Checked; 511case CheckState.Checked: 885SetItemCheckState(index, value ? CheckState.Checked : CheckState.Unchecked);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.ObjectCollection.cs (1)
23return Add(item, isChecked ? CheckState.Checked : CheckState.Unchecked);
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
81CheckState = value ? CheckState.Checked : CheckState.Unchecked;
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.ToolStripButtonAccessibleObject.cs (1)
93CheckState.Checked => ToggleState.ToggleState_On,
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
260CheckState = value ? CheckState.Checked : CheckState.Unchecked; 276CheckState.Checked => t_checkedImage ??= ScaleHelper.GetIconResourceAsBitmap(
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (1)
144CheckState.Checked => ToggleState.ToggleState_On,
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
659else if (item is ToolStripMenuItem menuItem && menuItem.CheckState == CheckState.Checked)
System\Windows\Forms\Internal\Formatter.cs (4)
176return ((bool)value) ? CheckState.Checked : CheckState.Unchecked; 185? CheckState.Checked 329return (state == CheckState.Checked); 336return targetConverter.ConvertFrom(context: null, GetFormatterCulture(formatInfo), state == CheckState.Checked);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
351_visibleCheckBox.CheckState = CheckState.Checked;
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
207_checkBoxUseValidatingType.CheckState = CheckState.Checked;