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