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