54 references to Indeterminate
System.Windows.Forms (54)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (9)
28|| (SystemInformation.HighContrast ? state != CheckState.Indeterminate : state == CheckState.Unchecked), 49case CheckState.Indeterminate: 61case CheckState.Indeterminate: 104else if (state == CheckState.Indeterminate) 121|| (SystemInformation.HighContrast ? state != CheckState.Indeterminate : state == CheckState.Unchecked), 147case CheckState.Indeterminate: 192else if (state == CheckState.Indeterminate) 229? state is CheckState.Checked or CheckState.Indeterminate 232: state is CheckState.Indeterminate
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (3)
20if (state == CheckState.Indeterminate) 40state != CheckState.Indeterminate && IsHighContrastHighlighted() ? SystemColors.HighlightText : colors.WindowText, 66if (state == CheckState.Indeterminate)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
130if (state == CheckState.Indeterminate)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (6)
62if (Control.CheckState == CheckState.Indeterminate) 98else if (controlCheckState == CheckState.Indeterminate && checkBackground == SystemColors.Window && disabledColors) 126if (Control.CheckState == CheckState.Indeterminate) 166else if (controlCheckState == CheckState.Indeterminate) 191controlCheckState == CheckState.Indeterminate, 262if (Control.CheckState == CheckState.Indeterminate)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (1)
212CheckState.Indeterminate => PushButtonState.Hot,
System\Windows\Forms\Controls\Buttons\CheckBox.CheckBoxAccessibleObject.cs (2)
28CheckState.Indeterminate => AccessibleStates.Indeterminate | base.State, 84CheckState.Checked => CheckState.Indeterminate,
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
465CheckState = CheckState.Indeterminate;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (17)
76else if (valueAsCheckState == CheckState.Indeterminate) 148return CheckState.Indeterminate; 337if ((!EditingCellValueChanged && FormattedValue is CheckState checkState && checkState == CheckState.Indeterminate) || 340return CheckState.Indeterminate; 568CheckState.Indeterminate => CheckState.Indeterminate, 589value = CheckState.Indeterminate; 626Debug.Assert(retCheckState == CheckState.Indeterminate); 1091drawAsMixedCheckBox = (checkState == CheckState.Indeterminate); 1331if (checkState == CheckState.Indeterminate) 1377checkState == CheckState.Indeterminate 1429checkState is CheckState.Checked or CheckState.Indeterminate, 1479checkState is CheckState.Checked or CheckState.Indeterminate, 1526checkState is CheckState.Checked or CheckState.Indeterminate, 1642case CheckState.Indeterminate: 1649return CheckState.Indeterminate; 1677editingCell.EditingCellFormattedValue = CheckState.Indeterminate;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (1)
38CheckState.Indeterminate => AccessibleStates.Indeterminate | base.State,
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (4)
23NullValue = threeState ? CheckState.Indeterminate : false 229DefaultCellStyle.NullValue = CheckState.Indeterminate; 231else if (!value && DefaultCellStyle.NullValue is CheckState state && state == CheckState.Indeterminate) 291defaultNullValue = templateCell.ThreeState ? CheckState.Indeterminate : false;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (2)
156return CheckState.Indeterminate; 186case CheckState.Indeterminate:
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxItemAccessibleObject.cs (2)
87case CheckState.Indeterminate: 122case CheckState.Indeterminate:
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
514case CheckState.Indeterminate:
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
98if (value is < CheckState.Unchecked or > CheckState.Indeterminate)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
272CheckState.Indeterminate => t_indeterminateCheckedImage ??= ScaleHelper.GetIconResourceAsBitmap(
System\Windows\Forms\Internal\Formatter.cs (2)
116return CheckState.Indeterminate; 321if (state == CheckState.Indeterminate)