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