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