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