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