20 references to ControlLight
System.Drawing.Common (2)
System\Drawing\SystemBrushes.cs (1)
21
public static Brush ControlLight => FromSystemColor(SystemColors.
ControlLight
);
System\Drawing\SystemPens.cs (1)
24
public static Pen ControlLight => FromSystemColor(SystemColors.
ControlLight
);
System.Windows.Forms (17)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (3)
166
? SystemInformation.HighContrast ? SystemColors.
ControlLight
: SystemColors.Control
226
? SystemColors.
ControlLight
275
: SystemInformation.HighContrast ? SystemColors.
ControlLight
: SystemColors.Control);
System\Windows\Forms\Controls\GroupBox\GroupBoxRenderer.cs (1)
340
using CreatePenScope hpenLight = new(SystemColors.
ControlLight
);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
955
base.BackColor = value ? SystemColors.
ControlLight
: SystemColors.Window;
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (4)
359
rgbTable[KnownColors.ButtonCheckedHighlight] = SystemColors.
ControlLight
;
360
rgbTable[KnownColors.ButtonSelectedHighlight] = SystemColors.
ControlLight
;
409
rgbTable[KnownColors.msocbvcrCBCtlBkgdSelectedMouseOver] = SystemColors.
ControlLight
;
437
rgbTable[KnownColors.msocbvcrCBCtlBkgdSelected] = (lowResolution) ? SystemColors.
ControlLight
: highlight;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemDarkModeRenderer.cs (3)
48
Color c when c == SystemColors.
ControlLight
=> Color.FromArgb(60, 60, 60),
522
using var lightColorBrush = GetDarkModeColor(SystemColors.
ControlLight
).GetCachedSolidBrushScope();
582
using var marginColorBrush = GetDarkModeBrush(SystemColors.
ControlLight
);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
253
? SystemColors.
ControlLight
System\Windows\Forms\Rendering\ControlPaint.cs (2)
2142
Color brushColor = backColor.GetBrightness() <= .5 ? SystemColors.
ControlLight
: SystemColors.ControlDark;
2269
Color brushColor = backColor.GetBrightness() <= .5 ? SystemColors.
ControlLight
: SystemColors.ControlDark;
System\Windows\Forms\Rendering\ControlPaint.HLSColor.cs (2)
154
return SystemColors.
ControlLight
;
162
ARGB light = SystemColors.
ControlLight
;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignerUtils.cs (1)
231
color = SystemColors.
ControlLight
;