48 references to ControlLightLight
System.Drawing.Common.Tests (5)
System\Drawing\ColorTranslatorTests.cs (3)
20yield return (unchecked((int)0x80000014), SystemColors.ControlLightLight); 116yield return ("buttonhighlight", SystemColors.ControlLightLight); 180yield return new object[] { "threedlightshadow", SystemColors.ControlLightLight };
System\Drawing\SystemBrushesTests.cs (1)
21yield return Brush(() => SystemBrushes.ControlLightLight, SystemColors.ControlLightLight);
System\Drawing\SystemPensTest.cs (1)
23yield return Pen(() => SystemPens.ControlLightLight, SystemColors.ControlLightLight);
System.Windows.Forms (14)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (1)
44colors.Highlight = SystemColors.ControlLightLight;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
146: stockColor ? SystemColors.ControlLightLight : colors.Highlight); 249: stockColor ? SystemColors.ControlLightLight : colors.Highlight);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (5)
1434int lightDistance = ColorDistance(baseline, SystemColors.ControlLightLight); 1447: SystemColors.ControlLightLight; 1457: SystemColors.ControlLightLight; 3155DataGridViewAdvancedCellBorderStyle.Inset => SystemColors.ControlLightLight, 3190DataGridViewAdvancedCellBorderStyle.Inset => SystemColors.ControlLightLight,
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (2)
160savedColor = PInvokeCore.SetBkColor(dc, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.ControlLightLight)); 266COLORREF oldTextColor = PInvokeCore.SetTextColor(dc, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.ControlLightLight));
System\Windows\Forms\Rendering\ControlPaint.cs (2)
1104using var lightPen = (stockColor ? SystemColors.ControlLightLight : hls.Lighter(1.0f)).GetCachedPenScope(); 1122? SystemColors.ControlLightLight
System\Windows\Forms\Rendering\ControlPaint.HLSColor.cs (2)
158return SystemColors.ControlLightLight; 163ARGB lightLight = SystemColors.ControlLightLight;
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ByteViewer.cs (1)
140using (Brush brush = new SolidBrush(SystemColors.ControlLightLight))
System.Windows.Forms.Tests (28)
System\Windows\Forms\ButtonRenderingTests.cs (4)
48State.PenColor(SystemColors.ControlLightLight)), 51State.PenColor(SystemColors.ControlLightLight)), 134State.PenColor(SystemColors.ControlLightLight)), 137State.PenColor(SystemColors.ControlLightLight)),
System\Windows\Forms\ControlPaintTests.cs (22)
303yield return new object[] { SystemColors.ControlLightLight, Color.FromArgb(255, 85, 85, 85) }; 336yield return new object[] { SystemColors.ControlLightLight, -1.5f, Color.FromArgb(255, 169, 169, 169) }; 356yield return new object[] { SystemColors.ControlLightLight, -1f, Color.FromArgb(255, 84, 84, 84) }; 376yield return new object[] { SystemColors.ControlLightLight, -0.5f, Color.FromArgb(255, 255, 255, 255) }; 396yield return new object[] { SystemColors.ControlLightLight, -0.25f, Color.FromArgb(255, 212, 212, 212) }; 416yield return new object[] { SystemColors.ControlLightLight, 0f, Color.FromArgb(255, 170, 170, 170) }; 436yield return new object[] { SystemColors.ControlLightLight, 0.25f, Color.FromArgb(255, 127, 127, 127) }; 456yield return new object[] { SystemColors.ControlLightLight, 0.5f, Color.FromArgb(255, 85, 85, 85) }; 476yield return new object[] { SystemColors.ControlLightLight, 1f, Color.FromArgb(255, 0, 0, 0) }; 528yield return new object[] { SystemColors.ControlLightLight, Color.FromArgb(255, 0, 0, 0) }; 2067yield return new object[] { SystemColors.ControlLightLight, Color.FromArgb(255, 255, 255, 255) }; 2100yield return new object[] { SystemColors.ControlLightLight, -1.5f, Color.FromArgb(255, 255, 255, 255) }; 2120yield return new object[] { SystemColors.ControlLightLight, -1f, Color.FromArgb(255, 255, 255, 255) }; 2140yield return new object[] { SystemColors.ControlLightLight, -0.5f, Color.FromArgb(255, 255, 255, 255) }; 2160yield return new object[] { SystemColors.ControlLightLight, -0.25f, Color.FromArgb(255, 255, 255, 255) }; 2180yield return new object[] { SystemColors.ControlLightLight, 0f, Color.FromArgb(255, 255, 255, 255) }; 2200yield return new object[] { SystemColors.ControlLightLight, 0.25f, Color.FromArgb(255, 255, 255, 255) }; 2220yield return new object[] { SystemColors.ControlLightLight, 0.5f, Color.FromArgb(255, 255, 255, 255) }; 2238yield return new object[] { SystemColors.Control, 1f, SystemColors.ControlLightLight }; 2240yield return new object[] { SystemColors.ControlLightLight, 1f, Color.FromArgb(255, 255, 255, 255) }; 2290yield return new object[] { SystemColors.Control, SystemColors.ControlLightLight }; 2292yield return new object[] { SystemColors.ControlLightLight, Color.FromArgb(255, 255, 255, 255) };
System\Windows\Forms\ControlPaintTests.Rendering.cs (2)
269State.Pen(16, SystemColors.ControlLightLight, penStyle), 275State.Pen(16, SystemColors.ControlLightLight, penStyle),