12 references to Light
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1456
? ControlPaint.
Light
(baseline)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (1)
39
Color c = ControlPaint.
Light
(Control.BackColor);
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\PanelDesigner.cs (1)
73
ControlPaint.
Light
(Control.BackColor) :
System\Windows\Forms\Design\PictureBoxDesigner.cs (1)
40
penColor = ControlPaint.
Light
(ctl.BackColor);
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
149
Color penColor = control.BackColor.GetBrightness() < .5 ? ControlPaint.
Light
(control.BackColor) : ControlPaint.Dark(control.BackColor);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
47
ControlPaint.
Light
(Control.BackColor) :
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (2)
2074
Assert.Equal(expected, ControlPaint.
Light
(baseColor));
2077
Assert.Equal(expected, ControlPaint.
Light
(baseColor));
System\Windows\Forms\ControlPaintTests.Rendering.cs (4)
82
State.Pen(16, ControlPaint.
Light
(Color.Gray), penStyle),
88
State.Pen(16, ControlPaint.
Light
(Color.Gray), penStyle),
142
State.Pen(16, ControlPaint.
Light
(SystemColors.Control), penStyle),
148
State.Pen(16, ControlPaint.
Light
(SystemColors.Control), penStyle),