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