66 references to Control
System.Drawing (2)
commonui\System\Drawing\SystemBrushes.cs (1)
102
return FromSystemColor(SystemColors.
Control
);
commonui\System\Drawing\SystemPens.cs (1)
104
return FromSystemColor(SystemColors.
Control
);
System.Web.Mobile (2)
UI\MobileControls\Design\Util\HeaderLabel.cs (1)
25
BackColor = SystemColors.
Control
;
UI\MobileControls\Design\Util\ImageCreator.cs (1)
78
controlBrush = new SolidBrush(SystemColors.
Control
),
System.Windows.Forms (48)
winforms\Managed\System\WinForms\ButtonBase.cs (1)
1232
if (isEnableVisualStyleBackgroundSet || ((RawBackColor.IsEmpty) && (BackColor == SystemColors.
Control
)))
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (8)
153
if (Control.BackColor != SystemColors.
Control
&& SystemInformation.HighContrast) {
173
bool stockColor = colors.buttonFace.ToKnownColor() == SystemColors.
Control
.ToKnownColor();
217
insetPen = new WindowsPen(wg.DeviceContext, SystemColors.
Control
);
318
if (colors.buttonFace.ToKnownColor() == SystemColors.
Control
.ToKnownColor()) {
337
bool stockColor = colors.buttonFace.ToKnownColor() == SystemColors.
Control
.ToKnownColor();
401
pen = new WindowsPen(wg.DeviceContext, SystemColors.
Control
);
751
if (backColor == SystemColors.
Control
) {
788
if (highContrast && backColor != SystemColors.
Control
) {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (2)
90
brush = new WindowsSolidBrush(wg.DeviceContext, SystemColors.
Control
);
94
SystemColors.
Control
;
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (2)
39
field = SystemColors.
Control
;
71
field = SystemColors.
Control
;
winforms\Managed\System\WinForms\ComboBox.cs (1)
6094
return (comboBox.Enabled) ? comboBox.BackColor : SystemColors.
Control
;
winforms\Managed\System\WinForms\Control.cs (2)
2146
get { return SystemColors.
Control
;}
2259
color = SystemColors.
Control
;
winforms\Managed\System\WinForms\ControlPaint.cs (4)
1011
if (color.ToKnownColor() == SystemColors.
Control
.ToKnownColor()) {
1024
bool stockColor = color.ToKnownColor() == SystemColors.
Control
.ToKnownColor();
1313
DrawFocusRectangle(graphics, rectangle, SystemColors.ControlText, SystemColors.
Control
);
2816
isSystemColors_Control = (color.ToKnownColor() == SystemColors.
Control
.ToKnownColor());
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
792
ControlPaint.DrawBorder(g, valBounds, SystemColors.
Control
,
944
ControlPaint.DrawFocusRectangle(g, Rectangle.Inflate(valBounds, -1, -1), Color.Empty, SystemColors.
Control
);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
2320
Color color= SystemColors.
Control
;
2325
bool stockColor = color.ToKnownColor() == SystemColors.
Control
.ToKnownColor();
2327
if (color == SystemColors.
Control
)
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (3)
655
this.BackColor = SystemColors.
Control
;
809
state, ColorTranslator.ToWin32(SystemColors.
Control
), ColorTranslator.ToWin32(SystemColors.ControlText));
840
oldBackColor = SafeNativeMethods.SetBkColor(new HandleRef(null, dc), ColorTranslator.ToWin32(SystemColors.
Control
));
winforms\Managed\System\WinForms\GDI\TextRenderer.cs (1)
347
if (ControlPaint.IsDarker(backColor, SystemColors.
Control
)) {
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (1)
224
Color backColor = SystemColors.
Control
;
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (1)
226
get { return (usingSystemColors) ? SystemColors.
Control
: FromKnownColor(KnownColors.msocbvcrCBGradVertEnd); }
winforms\Managed\System\WinForms\PropertyGrid.cs (4)
97
private Color categorySplitterColor = SystemColors.
Control
;
253
doccomment.BackColor = SystemColors.
Control
;
4236
hotcommands.SetColors(SystemColors.
Control
, SystemColors.ControlText, SystemColors.ActiveCaption, SystemColors.ActiveCaption, SystemColors.ActiveCaption, SystemColors.ControlDark);
4239
hotcommands.SetColors(SystemColors.
Control
, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty);
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
157
if (Control.BackColor != SystemColors.
Control
&& SystemInformation.HighContrast) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
284
btnDropDown.BackColor = SystemColors.
Control
;
307
btnDialog.BackColor = SystemColors.
Control
;
winforms\Managed\System\WinForms\StatusBar.cs (1)
135
return SystemColors.
Control
;
winforms\Managed\System\WinForms\TabControl.cs (1)
210
return SystemColors.
Control
;
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
299
return SystemColors.
Control
;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (1)
601
Renderer.DrawImageMargin(new ToolStripRenderEventArgs(e.Graphics, this, this.ImageMargin, SystemColors.
Control
));
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
345
return SystemColors.
Control
.ToArgb() == Color.Black.ToArgb();
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
824
image.MakeTransparent(SystemColors.
Control
);
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (1)
73
backColor = SystemColors.
Control
;
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (1)
710
if (vsRenderer == null || (item.BackColor != SystemColors.
Control
)) {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
865
innerBorderColor = SystemColors.
Control
;
winforms\Managed\System\WinForms\UpDownBase.cs (1)
856
ControlPaint.DrawBorder(e.Graphics, editBounds, SystemColors.
Control
, ButtonBorderStyle.Solid);
System.Workflow.Activities (3)
Rules\Design\Dialogs\BasicBrowserDialog.Designer.cs (2)
108
this.rulesToolStrip.BackColor = System.Drawing.SystemColors.
Control
;
176
this.previewRichTextBox.BackColor = System.Drawing.SystemColors.
Control
;
Rules\Design\Dialogs\RuleSetDialog.Designer.cs (1)
151
this.rulesToolStrip.BackColor = System.Drawing.SystemColors.
Control
;
System.Workflow.ComponentModel (5)
AuthoringOM\Design\DesignerHelpers.cs (1)
296
using (SolidBrush backgroundBrush = new SolidBrush(Color.FromArgb(alpha, SystemColors.
Control
)))
AuthoringOM\Design\DesignerWidgets.cs (2)
1511
BackColor = SystemColors.
Control
;
1712
BackColor = SystemColors.
Control
;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
1200
this.BackColor = SystemColors.
Control
;
AuthoringOM\Design\Themes.cs (1)
1405
BackColorStart = SystemColors.
Control
;
System.WorkflowServices (5)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (5)
53
this.operationsToolStrip.BackColor = System.Drawing.SystemColors.
Control
;
134
this.detailsViewPanel.BaseColor = System.Drawing.SystemColors.
Control
;
138
this.detailsViewPanel.LightingColor = System.Drawing.SystemColors.
Control
;
144
this.footerPanel.BackColor = System.Drawing.SystemColors.
Control
;
162
this.BackColor = System.Drawing.SystemColors.
Control
;
WsatUI (1)
MMCUI\WSATControl.designer.cs (1)
171
this.textBoxEndpointCert.BackColor = System.Drawing.SystemColors.
Control
;