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