62 references to Window
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
147_listBoxSummary.BackColor = System.Drawing.SystemColors.Window;
System.Drawing.Common (2)
System\Drawing\SystemBrushes.cs (1)
49public static Brush Window => FromSystemColor(SystemColors.Window);
System\Drawing\SystemPens.cs (1)
50public static Pen Window => FromSystemColor(SystemColors.Window);
System.Windows.Forms (40)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3333qaContainer.colorBack = GetOleColorFromColor(SystemColors.Window);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (4)
98else if (controlCheckState == CheckState.Indeterminate && checkBackground == SystemColors.Window && disabledColors) 102(byte)((comboColor.R + SystemColors.Window.R) / 2), 103(byte)((comboColor.G + SystemColors.Window.G) / 2), 104(byte)((comboColor.B + SystemColors.Window.B) / 2));
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
260: SystemColors.Window; 3760&& !(SystemInformation.HighContrast && BackColor == SystemColors.Window))
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (2)
171=> comboBox.Enabled ? SystemColors.Window : SystemColors.ControlDark; 180return focused ? SystemColors.ControlDark : SystemColors.Window;
System\Windows\Forms\Controls\ComboBox\ComboBoxRenderer.cs (1)
39if (windowColor != SystemColors.Window)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
356private static readonly Color s_defaultBackColor = SystemColors.Window;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (2)
38protected static readonly Color DefaultMonthBackColor = SystemColors.Window; 130get => ShouldSerializeBackColor() ? base.BackColor : SystemColors.Window;
System\Windows\Forms\Controls\Labels\LinkUtilities.cs (2)
116int r = (SystemColors.Window.R + SystemColors.WindowText.R + 1) / 2; 118int b = (SystemColors.Window.B + SystemColors.WindowText.B + 1) / 2;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
159return SystemColors.Window;
System\Windows\Forms\Controls\ListView\ListView.cs (3)
107private Color _odCacheBackColor = SystemColors.Window; 348get => ShouldSerializeBackColor() ? base.BackColor : SystemColors.Window; 4985if (c != SystemColors.Window || Application.IsDarkModeEnabled)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
291return SystemColors.Window;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (1)
80return _owner?._listView?.BackColor ?? SystemColors.Window;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
201return SystemColors.Window;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (1)
76Color c = (ARGB)SystemColors.Window;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
139BackColor = SystemColors.Window;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
294: SystemColors.Window; 955base.BackColor = value ? SystemColors.ControlLight : SystemColors.Window;
System\Windows\Forms\Controls\TextBox\TextBoxRenderer.cs (1)
31if (windowColor != SystemColors.Window)
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (5)
346SystemColors.Window, 347GetAlphaBlendedColor(screen, SystemColors.Highlight, SystemColors.Window, 160), 351SystemColors.Window, 352GetAlphaBlendedColor(screen, SystemColors.Highlight, SystemColors.Window, 80), 374Color window = SystemColors.Window;
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (2)
48return (comboBox.Enabled) ? SystemColors.Window : GetColorTable(comboBox as ToolStripComboBoxControl).ComboBoxBorder; 65: SystemColors.Window;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemDarkModeRenderer.cs (1)
54Color c when c == SystemColors.Window => Color.FromArgb(32, 32, 32),
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
195get => ShouldSerializeBackColor() ? base.BackColor : SystemColors.Window; 1883if (c != SystemColors.Window || Application.IsDarkModeEnabled)
System\Windows\Forms\Help\Help.cs (1)
85clrBackground = SystemColors.Window
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (2)
32: this(graphics, font, rect, index, state, SystemColors.WindowText, SystemColors.Window) 62: this(hdc, font, rect, index, state, SystemColors.WindowText, SystemColors.Window)
System.Windows.Forms.Design (19)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
593Color backColor = SystemColors.Window;
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
22BackColor = SystemColors.Window;
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
172_readOnlyTextBoxLabel.BackColor = SystemColors.Window;
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
393Color cw = SystemColors.Window;
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
184BackColor = SystemColors.Window;
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (1)
94_tableLayoutPanel.BackColor = SystemColors.Window;
System\Windows\Forms\Design\DesignBindingPicker.cs (8)
151BackColor = SystemColors.Window, 171BackColor = SystemColors.Window, 190BackColor = SystemColors.Window, 237BackColor = SystemColors.Window, 278BackColor = SystemColors.Window, 296BackColor = SystemColors.Window, 322BackColor = SystemColors.Window, 1585_helpTextCtrl.BackColor = SystemColors.Window;
System\Windows\Forms\Design\DesignerUtils.cs (4)
28PInvokeCore.CreateSolidBrush((COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.Window)); 34PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.Window)); 173s_grabHandleFillBrushPrimary = PInvokeCore.CreateSolidBrush((COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.Window)); 182s_grabHandlePen = PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.Window));
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
384BackColor = SystemColors.Window,