5 references to IsDark
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
1046
ControlPaint.
IsDark
(backColor))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (1)
93
if (ControlPaint.
IsDark
(backgroundColor) && image is Bitmap bitmap)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
872
if (ControlPaint.
IsDark
(backgroundColor))
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2163
if (
IsDark
(baseColor))
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlPaintTests.cs (1)
2044
bool result = ControlPaint.
IsDark
(color);