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