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