20 references to LightLight
System.Windows.Forms (12)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (3)
52
colors.Highlight = ControlPaint.
LightLight
(_backColor);
57
colors.ButtonShadowDark = ControlPaint.
LightLight
(_backColor);
58
colors.Highlight = ControlPaint.
LightLight
(_backColor);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1446
? ControlPaint.
LightLight
(baseline)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (2)
1290
highlight = ControlPaint.
LightLight
(backBrushColor);
1372
? ControlPaint.
LightLight
(foreBrushColor)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (2)
22
Color c = ControlPaint.
LightLight
(Control.BackColor);
51
c = ControlPaint.
LightLight
(Control.BackColor);
System\Windows\Forms\Rendering\ControlPaint.cs (4)
1897
using var bright = GdiPlusCache.GetCachedPenScope(
LightLight
(backColor));
1927
using CreatePenScope hpenBright = new(
LightLight
(backColor));
1963
using var lightBrush =
LightLight
(color).GetCachedSolidBrushScope();
2009
Color paintcolor =
LightLight
(color);
System.Windows.Forms.Tests (8)
System\Windows\Forms\ControlPaintTests.cs (2)
2299
Assert.Equal(expected, ControlPaint.
LightLight
(baseColor));
2302
Assert.Equal(expected, ControlPaint.
LightLight
(baseColor));
System\Windows\Forms\ControlPaintTests.Rendering.cs (6)
70
State.Pen(16, ControlPaint.
LightLight
(Color.Gray), penStyle),
76
State.Pen(16, ControlPaint.
LightLight
(Color.Gray), penStyle),
130
State.Pen(16, ControlPaint.
LightLight
(SystemColors.Control), penStyle),
136
State.Pen(16, ControlPaint.
LightLight
(SystemColors.Control), penStyle),
195
State.Pen(16, ControlPaint.
LightLight
(Color.PeachPuff), penStyle),
201
State.Pen(16, ControlPaint.
LightLight
(Color.PeachPuff), penStyle),