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)
1299
highlight = ControlPaint.
LightLight
(backBrushColor);
1378
? 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)
1951
using var bright = GdiPlusCache.GetCachedPenScope(
LightLight
(backColor));
1981
using CreatePenScope hpenBright = new(
LightLight
(backColor));
2017
using var lightBrush =
LightLight
(color).GetCachedSolidBrushScope();
2063
Color paintcolor =
LightLight
(color);
System.Windows.Forms.Tests (8)
System\Windows\Forms\ControlPaintTests.cs (2)
2301
Assert.Equal(expected, ControlPaint.
LightLight
(baseColor));
2304
Assert.Equal(expected, ControlPaint.
LightLight
(baseColor));
System\Windows\Forms\ControlPaintTests.Rendering.cs (6)
72
State.Pen(16, ControlPaint.
LightLight
(Color.Gray), penStyle),
78
State.Pen(16, ControlPaint.
LightLight
(Color.Gray), penStyle),
132
State.Pen(16, ControlPaint.
LightLight
(SystemColors.Control), penStyle),
138
State.Pen(16, ControlPaint.
LightLight
(SystemColors.Control), penStyle),
197
State.Pen(16, ControlPaint.
LightLight
(Color.PeachPuff), penStyle),
203
State.Pen(16, ControlPaint.
LightLight
(Color.PeachPuff), penStyle),