4 references to IsDark
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
1042ControlPaint.IsDark(backColor))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (1)
91if (ControlPaint.IsDark(backgroundColor) && image is Bitmap bitmap)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
837if (ControlPaint.IsDark(backgroundColor))
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2167if (IsDark(baseColor))