66 references to Unchecked
System.Windows.Forms (66)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (3)
44
PaintDown(pevent, CheckState.
Unchecked
);
47
PaintOver(pevent, CheckState.
Unchecked
);
50
PaintUp(pevent, CheckState.
Unchecked
);
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (5)
36
!Control.FlatAppearance.CheckedBackColor.IsEmpty || (SystemInformation.HighContrast ? state != CheckState.Indeterminate : state == CheckState.
Unchecked
),
118
!Control.FlatAppearance.CheckedBackColor.IsEmpty || (SystemInformation.HighContrast ? state != CheckState.Indeterminate : state == CheckState.
Unchecked
),
139
case CheckState.
Unchecked
:
196
!Control.FlatAppearance.CheckedBackColor.IsEmpty || state == CheckState.
Unchecked
,
259
else if (state == CheckState.
Unchecked
) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (3)
26
LayoutData layout = PaintPopupLayout(e, state == CheckState.
Unchecked
, 1).Layout();
55
if (state == CheckState.
Unchecked
) {
65
LayoutData layout = PaintPopupLayout(e, state == CheckState.
Unchecked
, SystemInformation.HighContrast ? 2 : 1).Layout();
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
132
up = up && state == CheckState.
Unchecked
;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
197
if (Control.CheckState == CheckState.
Unchecked
) {
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 (7)
228
return checkState != CheckState.
Unchecked
;
233
CheckState = value ? CheckState.Checked : CheckState.
Unchecked
;
246
DefaultValue(CheckState.
Unchecked
),
257
if (!ClientUtils.IsEnumValid(value, (int)value, (int)CheckState.
Unchecked
, (int)CheckState.Indeterminate)){
569
case CheckState.
Unchecked
:
585
CheckState = CheckState.
Unchecked
;
589
CheckState = CheckState.
Unchecked
;
winforms\Managed\System\WinForms\CheckedListBox.cs (9)
539
return(GetItemCheckState(index) != CheckState.
Unchecked
);
587
CheckState newValue = (currentValue != CheckState.
Unchecked
)
588
? CheckState.
Unchecked
995
if (!ClientUtils.IsEnumValid(value,(int)value, (int)CheckState.
Unchecked
, (int)CheckState.Indeterminate)){
1017
SetItemCheckState(index, value ? CheckState.Checked : CheckState.
Unchecked
);
1142
return Add(item, isChecked ? CheckState.Checked : CheckState.
Unchecked
);
1155
if (!ClientUtils.IsEnumValid(check, (int)check, (int)CheckState.
Unchecked
, (int)CheckState.Indeterminate)){
1509
return CheckState.
Unchecked
;
1730
case CheckState.
Unchecked
:
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (13)
177
return System.Windows.Forms.CheckState.
Unchecked
;
654
(value is int && (int)value == (int)CheckState.
Unchecked
))
656
value = CheckState.
Unchecked
;
733
else if (retCheckState == CheckState.
Unchecked
)
1191
bs = (checkState == CheckState.
Unchecked
) ? ButtonState.Normal : ButtonState.Checked;
1203
checkState = CheckState.
Unchecked
;
1211
checkState = CheckState.
Unchecked
;
1417
if (checkState != CheckState.
Unchecked
)
1672
return CheckState.
Unchecked
;
1694
case CheckState.
Unchecked
:
1705
return CheckState.
Unchecked
;
1743
editingCell.EditingCellFormattedValue = System.Windows.Forms.CheckState.
Unchecked
;
1853
switchToCheckedState = ((CheckState) formattedValue) == CheckState.
Unchecked
;
winforms\Managed\System\WinForms\Formatter.cs (2)
147
return ((bool)value) ? CheckState.Checked : CheckState.
Unchecked
;
155
? CheckState.Checked : CheckState.
Unchecked
;
winforms\Managed\System\WinForms\ToolStripButton.cs (5)
21
private CheckState checkState = CheckState.
Unchecked
;
102
return checkState != CheckState.
Unchecked
;
107
CheckState = value ? CheckState.Checked : CheckState.
Unchecked
;
121
DefaultValue(CheckState.
Unchecked
),
131
if (!ClientUtils.IsEnumValid(value, (int)value, (int)CheckState.
Unchecked
, (int)CheckState.Indeterminate))
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (6)
257
return CheckState != CheckState.
Unchecked
;
262
CheckState = value ? CheckState.Checked : CheckState.
Unchecked
;
384
DefaultValue(CheckState.
Unchecked
),
392
return (found) ? (CheckState)checkState : CheckState.
Unchecked
;
397
if (!ClientUtils.IsEnumValid(value, (int)value, (int)CheckState.
Unchecked
, (int)CheckState.Indeterminate))
1086
if (CheckState != CheckState.
Unchecked
&& menuItemInternalLayout.PaintCheck) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
316
if (item.CheckState == CheckState.
Unchecked
) {
657
if (item.CheckState != CheckState.
Unchecked
) {