56 references to ControlDark
System.Drawing (2)
commonui\System\Drawing\SystemBrushes.cs (1)
132return FromSystemColor(SystemColors.ControlDark);
commonui\System\Drawing\SystemPens.cs (1)
124return FromSystemColor(SystemColors.ControlDark);
System.Web.Mobile (3)
UI\MobileControls\Design\MobileContainerDesigner.cs (1)
618SetBehaviorStyle("borderColor", ColorTranslator.ToHtml(SystemColors.ControlDark));
UI\MobileControls\Design\Util\ImageCreator.cs (2)
77controlDarkBrush = new SolidBrush(SystemColors.ControlDark), 82Pen controlDarkPen = new Pen(SystemColors.ControlDark),
System.Windows.Forms (47)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (3)
243bottomRightInsetPen = stockColor ? new WindowsPen(wg.DeviceContext, SystemColors.ControlDark) : new WindowsPen(wg.DeviceContext, colors.buttonShadow); 422pen = new WindowsPen(wg.DeviceContext, SystemColors.ControlDark); 752colors.buttonShadow = SystemColors.ControlDark;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
93Color comboColor = SystemInformation.HighContrast ? SystemColors.ControlDark :
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (1)
138checkColor = SystemColors.ControlDark;
winforms\Managed\System\WinForms\ComboBox.cs (3)
6083return (comboBox.Enabled) ? SystemColors.Window : SystemColors.ControlDark; 6088return SystemColors.ControlDark; 6090return (focused) ? SystemColors.ControlDark : SystemColors.Window;
winforms\Managed\System\WinForms\ControlPaint.cs (6)
142return SystemInformation.HighContrast ? SystemColors.WindowFrame : SystemColors.ControlDark; 1242((SystemInformation.HighContrast && AccessibilityImprovements.Level1) ? SystemColors.GrayText : SystemColors.ControlDark) : 2141brushColor = SystemColors.ControlDark; 2262brushColor = SystemColors.ControlDark; 2901return SystemColors.ControlDark; 2907Color dark = SystemColors.ControlDark;
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
955g.DrawLine(new Pen(SystemColors.ControlDark),
winforms\Managed\System\WinForms\DataGridView.cs (1)
2620return SystemColors.ControlDark;
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
850Color mouseOverBackColor = SystemColors.ControlDark;
winforms\Managed\System\WinForms\DataGridViewCell.cs (5)
1683int darkDistance = ColorDistance(baseline, SystemColors.ControlDark); 1694darkPen = this.DataGridView.GetCachedPen(SystemColors.ControlDark); 1713darkPen = this.DataGridView.GetCachedPen(SystemColors.ControlDark); 3589dividerWidthColor = SystemColors.ControlDark; 3627dividerHeightColor = SystemColors.ControlDark;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2329buttonShadow = SystemColors.ControlDark;
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (2)
235grayStrip.BackColor = SystemColors.ControlDark; 756SafeNativeMethods.SetBkColor(new HandleRef(null, dc), ColorTranslator.ToWin32(SystemColors.ControlDark));
winforms\Managed\System\WinForms\GDI\TextRenderer.cs (1)
346Color disabledTextForeColor = SystemColors.ControlDark;
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (1)
282Pen dark = new Pen(SystemColors.ControlDark);
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
1735using (Pen pen = new Pen(SystemColors.ControlDark))
winforms\Managed\System\WinForms\PropertyGrid.cs (4)
92private Color lineColor = SystemInformation.HighContrast ? (AccessibilityImprovements.Level1 ? SystemColors.ControlDarkDark : SystemColors.ControlDark ) 98private Color viewBorderColor = SystemColors.ControlDark; 4236hotcommands.SetColors(SystemColors.Control, SystemColors.ControlText, SystemColors.ActiveCaption, SystemColors.ActiveCaption, SystemColors.ActiveCaption, SystemColors.ControlDark); 5021private Color borderColor = SystemColors.ControlDark;
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
80label.DisabledLinkColor = SystemColors.ControlDark;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
5920Pen pen = new Pen(SystemColors.ControlDark, 1);
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
679return SystemColors.ControlDark;
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (2)
184arrowColor = Enabled ? SystemColors.HighlightText : SystemColors.ControlDark; 187arrowColor = Enabled ? SystemColors.ControlText : SystemColors.ControlDark;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
184 Color arrowColor = item.Enabled ? SystemColors.ControlText : SystemColors.ControlDark;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1115arrowColor = (Enabled) ? arrowColor : SystemColors.ControlDark;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (1)
595e.DefaultArrowColor = (item.Enabled) ? SystemColors.ControlText : SystemColors.ControlDark;
winforms\Managed\System\WinForms\ToolStripSeparator.cs (2)
28this.ForeColor = SystemColors.ControlDark; 455return (ForeColor != SystemColors.ControlDark);
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (3)
233e.Graphics.DrawRectangle(new Pen(SystemColors.ControlDark), bounds); 345Color arrowColor = item.Enabled ? SystemColors.ControlText : SystemColors.ControlDark; 459Color arrowColor = splitButton.Enabled ? SystemColors.ControlText : SystemColors.ControlDark;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
864outerBorderColor = SystemColors.ControlDark;
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
354this.lineLabel.BackColor = System.Drawing.SystemColors.ControlDark;
System.Workflow.ComponentModel (2)
AuthoringOM\Design\DesignerHelpers.cs (1)
298using (Pen darkPen = new Pen(Color.FromArgb(alpha, SystemColors.ControlDark)))
AuthoringOM\Design\Themes.cs (1)
1404BorderColor = SystemColors.ControlDark;
System.WorkflowServices (2)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (2)
109this.operationsPanel.BorderColor = System.Drawing.SystemColors.ControlDark; 146this.footerPanel.BorderColor = System.Drawing.SystemColors.ControlDark;