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