52 references to Indeterminate
System.Windows.Forms (52)
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (9)
36
!Control.FlatAppearance.CheckedBackColor.IsEmpty || (SystemInformation.HighContrast ? state != CheckState.
Indeterminate
: state == CheckState.Unchecked),
58
case CheckState.
Indeterminate
:
68
case CheckState.
Indeterminate
:
105
else if (state == CheckState.
Indeterminate
) {
118
!Control.FlatAppearance.CheckedBackColor.IsEmpty || (SystemInformation.HighContrast ? state != CheckState.
Indeterminate
: state == CheckState.Unchecked),
143
case CheckState.
Indeterminate
:
179
else if (state == CheckState.
Indeterminate
) {
217
if (state == CheckState.Checked || state == CheckState.
Indeterminate
) {
225
if (state == CheckState.
Indeterminate
) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (3)
32
if (state == CheckState.
Indeterminate
) {
51
PaintField(e, layout, colors, state != CheckState.
Indeterminate
&& IsHighContrastHighlighted2() ? SystemColors.HighlightText : colors.windowText, true);
72
if (state == CheckState.
Indeterminate
) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
155
if (state == CheckState.
Indeterminate
) {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (6)
65
if (Control.CheckState == CheckState.
Indeterminate
) {
92
else if (controlCheckState == CheckState.
Indeterminate
&& checkBackground == SystemColors.Window && disabledColors) {
118
if (Control.CheckState == CheckState.
Indeterminate
) {
139
else if (controlCheckState == CheckState.
Indeterminate
) {
158
Debug.Assert(controlCheckState == CheckState.
Indeterminate
, "we want to paint the check box only if the item is checked or indeterminate");
220
if (Control.CheckState == CheckState.
Indeterminate
) {
winforms\Managed\System\WinForms\CheckBox.cs (3)
257
if (!ClientUtils.IsEnumValid(value, (int)value, (int)CheckState.Unchecked, (int)CheckState.
Indeterminate
)){
574
CheckState = CheckState.
Indeterminate
;
768
case CheckState.
Indeterminate
:
winforms\Managed\System\WinForms\CheckedListBox.cs (6)
672
case CheckState.
Indeterminate
:
995
if (!ClientUtils.IsEnumValid(value,(int)value, (int)CheckState.Unchecked, (int)CheckState.
Indeterminate
)){
1155
if (!ClientUtils.IsEnumValid(check, (int)check, (int)CheckState.Unchecked, (int)CheckState.
Indeterminate
)){
1503
return CheckState.
Indeterminate
;
1533
case CheckState.
Indeterminate
:
1727
case CheckState.
Indeterminate
:
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (15)
95
else if (((System.Windows.Forms.CheckState)value) == System.Windows.Forms.CheckState.
Indeterminate
)
169
return System.Windows.Forms.CheckState.
Indeterminate
;
659
(value is int && (int)value == (int)CheckState.
Indeterminate
))
661
value = CheckState.
Indeterminate
;
739
Debug.Assert(retCheckState == CheckState.
Indeterminate
);
1192
drawAsMixedCheckBox = (checkState == CheckState.
Indeterminate
);
1404
if (checkState == CheckState.
Indeterminate
)
1453
ControlPaint.DrawImageColorized(g, checkImage, fullSize, checkState == CheckState.
Indeterminate
? ControlPaint.LightLight(foreBrush.Color) : foreBrush.Color);
1502
checkState == CheckState.Checked || checkState == CheckState.
Indeterminate
,
1549
checkState == CheckState.Checked || checkState == CheckState.
Indeterminate
,
1594
checkState == CheckState.Checked || checkState == CheckState.
Indeterminate
,
1708
case CheckState.
Indeterminate
:
1715
return CheckState.
Indeterminate
;
1739
editingCell.EditingCellFormattedValue = System.Windows.Forms.CheckState.
Indeterminate
;
1822
case CheckState.
Indeterminate
:
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (4)
37
defaultCellStyle.NullValue = CheckState.
Indeterminate
;
259
this.DefaultCellStyle.NullValue = CheckState.
Indeterminate
;
263
(CheckState) this.DefaultCellStyle.NullValue == CheckState.
Indeterminate
)
324
defaultNullValue = CheckState.
Indeterminate
;
winforms\Managed\System\WinForms\Formatter.cs (2)
114
return CheckState.
Indeterminate
;
295
if (state == CheckState.
Indeterminate
) {
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
131
if (!ClientUtils.IsEnumValid(value, (int)value, (int)CheckState.Unchecked, (int)CheckState.
Indeterminate
))
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
279
if (checkedState == CheckState.
Indeterminate
) {
397
if (!ClientUtils.IsEnumValid(value, (int)value, (int)CheckState.Unchecked, (int)CheckState.
Indeterminate
))