66 references to Window
System.Drawing (2)
commonui\System\Drawing\SystemBrushes.cs (1)
335
return FromSystemColor(SystemColors.
Window
);
commonui\System\Drawing\SystemPens.cs (1)
335
return FromSystemColor(SystemColors.
Window
);
System.Web.Mobile (4)
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (1)
240
Color cw = SystemColors.
Window
;
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
173
this._pgProperties.ViewBackColor = System.Drawing.SystemColors.
Window
;
UI\MobileControls\Design\Util\ImageCreator.cs (2)
79
windowBrush = new SolidBrush(SystemColors.
Window
)
83
windowPen = new Pen(SystemColors.
Window
)
System.Windows.Forms (43)
winforms\Managed\System\WinForms\AxHost.cs (1)
4455
qaContainer.colorBack = GetOleColorFromColor(SystemColors.
Window
);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (4)
92
else if (controlCheckState == CheckState.Indeterminate && checkBackground == SystemColors.
Window
&& disabledColors) {
95
byte R = (byte)((comboColor.R + SystemColors.
Window
.R) / 2);
96
byte G = (byte)((comboColor.G + SystemColors.
Window
.G) / 2);
97
byte B = (byte)((comboColor.B + SystemColors.
Window
.B) / 2);
winforms\Managed\System\WinForms\ComboBox.cs (3)
316
return SystemColors.
Window
;
6083
return (comboBox.Enabled) ? SystemColors.
Window
: SystemColors.ControlDark;
6090
return (focused) ? SystemColors.ControlDark : SystemColors.
Window
;
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (1)
53
if (windowColor != SystemColors.
Window
) {
winforms\Managed\System\WinForms\ControlPaint.cs (6)
2426
using (Pen pen = new Pen(SystemColors.
Window
)) {
2435
using (Pen pen = new Pen(SystemColors.
Window
)) {
2458
using (Pen pen = new Pen(SystemColors.
Window
)) {
2472
using (Pen pen = new Pen(SystemColors.
Window
)) {
2484
using (Pen pen = new Pen(SystemColors.
Window
)) {
2499
using (Pen pen = new Pen(SystemColors.
Window
)) {
winforms\Managed\System\WinForms\DateTimePicker.cs (2)
55
protected static readonly Color DefaultMonthBackColor = SystemColors.
Window
;
164
return SystemColors.
Window
;
winforms\Managed\System\WinForms\DrawItemEvent.cs (1)
83
this.backColor = SystemColors.
Window
;
winforms\Managed\System\WinForms\LinkUtilities.cs (2)
114
int r = (SystemColors.
Window
.R + SystemColors.WindowText.R + 1) / 2;
116
int b = (SystemColors.
Window
.B + SystemColors.WindowText.B + 1) / 2;
winforms\Managed\System\WinForms\ListBox.cs (1)
194
return SystemColors.
Window
;
winforms\Managed\System\WinForms\ListView.cs (3)
127
private Color odCacheBackColor = SystemColors.
Window
;
380
return SystemColors.
Window
;
4643
if (c != SystemColors.
Window
) {
winforms\Managed\System\WinForms\ListViewItem.cs (2)
347
return SystemColors.
Window
;
1478
return SystemColors.
Window
;
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
313
return SystemColors.
Window
;
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (5)
482
rgbTable[ProfessionalColorTable.KnownColors.ButtonPressedHighlight] = GetAlphaBlendedColor(g, SystemColors.
Window
, GetAlphaBlendedColor(g, SystemColors.Highlight, SystemColors.
Window
, 160), 50);
483
rgbTable[ProfessionalColorTable.KnownColors.ButtonCheckedHighlight] = GetAlphaBlendedColor(g, SystemColors.
Window
, GetAlphaBlendedColor(g, SystemColors.Highlight, SystemColors.
Window
, 80), 20);
504
Color window = SystemColors.
Window
;
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
202
Color c = SystemColors.
Window
;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
204
BackColor = SystemColors.
Window
;
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
472
using (Pen pen = new Pen(SystemColors.
Window
)) {
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
301
return SystemColors.
Window
;
winforms\Managed\System\WinForms\TextBoxRenderer.cs (2)
50
if (windowColor != SystemColors.
Window
) {
53
using(SolidBrush brush = new SolidBrush(SystemColors.
Window
)) {
winforms\Managed\System\WinForms\ToolStripComboBox.cs (2)
671
return (comboBox.Enabled) ? SystemColors.
Window
: GetColorTable(comboBox as ToolStripComboBoxControl).ComboBoxBorder;
681
return (focused) ? GetColorTable(comboBox as ToolStripComboBoxControl).ComboBoxBorder : SystemColors.
Window
;
winforms\Managed\System\WinForms\TreeView.cs (2)
205
return SystemColors.
Window
;
2005
if (c != SystemColors.
Window
)
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
230
this.tableLayoutPanelQuestion.BackColor = System.Drawing.SystemColors.
Window
;
System.Workflow.Activities (1)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
293
listViewItem.BackColor = SystemColors.
Window
;
System.Workflow.ComponentModel (4)
AuthoringOM\Design\DesignerWidgets.cs (1)
1228
using (Brush gradientBrush = new LinearGradientBrush(new Point(this.leftGradientRectangle.Left, this.leftGradientRectangle.Top), new Point(this.leftGradientRectangle.Right, this.leftGradientRectangle.Top), SystemColors.
Window
, SystemColors.ScrollBar))
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
213
this.artifactTreeView.BackColor = System.Drawing.SystemColors.
Window
;
AuthoringOM\Design\Themes.cs (2)
1912
PreviewBackColor = SystemColors.
Window
;
3181
BackColor = SystemColors.
Window
;
System.WorkflowServices (12)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (3)
108
this.operationsPanel.BaseColor = System.Drawing.SystemColors.
Window
;
113
this.operationsPanel.LightingColor = System.Drawing.SystemColors.
Window
;
120
this.operationsListBox.BackColor = System.Drawing.SystemColors.
Window
;
System\Workflow\Activities\Design\ServiceContractViewControl.cs (2)
57
this.backgroundPanel.BaseColor = System.Drawing.SystemColors.
Window
;
65
this.backgroundPanel.BaseColor = System.Drawing.SystemColors.
Window
;
System\Workflow\Activities\Design\ServiceContractViewControl.Designer.cs (1)
74
this.BackColor = System.Drawing.SystemColors.
Window
;
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (2)
74
this.parametersGrid.BackgroundColor = System.Drawing.SystemColors.
Window
;
118
this.operationsToolStrip.BackColor = System.Drawing.SystemColors.
Window
;
System\Workflow\Activities\Design\ServiceOperationViewControl.cs (2)
51
this.backgroundPanel.BaseColor = System.Drawing.SystemColors.
Window
;
59
this.backgroundPanel.BaseColor = System.Drawing.SystemColors.
Window
;
System\Workflow\Activities\Design\ServiceOperationViewControl.designer.cs (2)
47
this.backgroundPanel.BackColor = System.Drawing.SystemColors.
Window
;
86
this.BackColor = System.Drawing.SystemColors.
Window
;