53 references to Checked
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDataSelectionPanel.cs (1)
198
if (e.NewValue == CheckState.
Checked
)
System.Windows.Forms (52)
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (8)
37
!hasCustomBorder && SystemInformation.HighContrast && state == CheckState.
Checked
,
55
case CheckState.
Checked
:
65
case CheckState.
Checked
:
101
else if (state == CheckState.
Checked
&& SystemInformation.HighContrast) {
119
!hasCustomBorder && SystemInformation.HighContrast && state == CheckState.
Checked
,
140
case CheckState.
Checked
:
175
else if (state == CheckState.
Checked
&& SystemInformation.HighContrast) {
217
if (state == CheckState.
Checked
|| state == CheckState.Indeterminate) {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
155
if (controlCheckState == CheckState.
Checked
) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonFlatAdapter.cs (3)
25
adapter.PaintDown(e, Control.Checked ? CheckState.
Checked
: CheckState.Unchecked);
41
adapter.PaintOver(e, Control.Checked ? CheckState.
Checked
: CheckState.Unchecked);
57
adapter.PaintUp(e, Control.Checked ? CheckState.
Checked
: CheckState.Unchecked);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonPopupAdapter.cs (3)
24
adapter.PaintUp(e, Control.Checked ? CheckState.
Checked
: CheckState.Unchecked);
46
adapter.PaintOver(e, Control.Checked ? CheckState.
Checked
: CheckState.Unchecked);
69
adapter.PaintDown(e, Control.Checked ? CheckState.
Checked
: CheckState.Unchecked);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonStandardAdapter.cs (3)
22
ButtonAdapter.PaintUp(e, Control.Checked ? CheckState.
Checked
: CheckState.Unchecked);
38
ButtonAdapter.PaintDown(e, Control.Checked ? CheckState.
Checked
: CheckState.Unchecked);
47
ButtonAdapter.PaintOver(e, Control.Checked ? CheckState.
Checked
: CheckState.Unchecked);
winforms\Managed\System\WinForms\CheckBox.cs (4)
233
CheckState = value ? CheckState.
Checked
: CheckState.Unchecked;
570
CheckState = CheckState.
Checked
;
572
case CheckState.
Checked
:
766
case CheckState.
Checked
:
winforms\Managed\System\WinForms\CheckedListBox.cs (7)
589
: CheckState.
Checked
;
669
case CheckState.
Checked
:
1017
SetItemCheckState(index, value ? CheckState.
Checked
: CheckState.Unchecked);
1142
return Add(item, isChecked ? CheckState.
Checked
: CheckState.Unchecked);
1506
return CheckState.
Checked
;
1528
case CheckState.
Checked
:
1724
case CheckState.
Checked
:
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (15)
90
if (((System.Windows.Forms.CheckState)value) == System.Windows.Forms.CheckState.
Checked
)
161
return System.Windows.Forms.CheckState.
Checked
;
649
(value is int && (int)value == (int)CheckState.
Checked
))
651
value = CheckState.
Checked
;
729
if (retCheckState == CheckState.
Checked
)
1198
checkState = CheckState.
Checked
;
1502
checkState == CheckState.
Checked
|| checkState == CheckState.Indeterminate,
1549
checkState == CheckState.
Checked
|| checkState == CheckState.Indeterminate,
1594
checkState == CheckState.
Checked
|| checkState == CheckState.Indeterminate,
1657
return CheckState.
Checked
;
1680
case CheckState.
Checked
:
1691
return CheckState.
Checked
;
1747
editingCell.EditingCellFormattedValue = System.Windows.Forms.CheckState.
Checked
;
1820
case CheckState.
Checked
:
1976
toggledState = ((CheckState)formattedValue) == CheckState.
Checked
;
winforms\Managed\System\WinForms\Formatter.cs (4)
147
return ((bool)value) ? CheckState.
Checked
: CheckState.Unchecked;
155
? CheckState.
Checked
: CheckState.Unchecked;
300
return (state == CheckState.
Checked
);
306
return targetConverter.ConvertFrom(null, GetFormatterCulture(formatInfo), state == CheckState.
Checked
);
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
107
CheckState = value ? CheckState.
Checked
: CheckState.Unchecked;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
395
if (button.CheckState == CheckState.
Checked
) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
262
CheckState = value ? CheckState.
Checked
: CheckState.Unchecked;
298
else if (checkedState == CheckState.
Checked
) {