12 references to GetBrightness
System.Windows.Forms (12)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (3)
773if (colors.buttonFace.GetBrightness() < .5) { 781if (colors.highlight.GetBrightness() < .5) { 806if (colors.buttonFace.GetBrightness() < .5) {
winforms\Managed\System\WinForms\ControlPaint.cs (8)
1456float intensity = backColor.GetBrightness(); 1774if (backColor.GetBrightness() < .5) { 2122if (color.GetBrightness() < .5) { 2137if (backColor.GetBrightness() <= .5) { 2190(!highContrast && focusPenColor.GetBrightness() <= .5 && baseColor.GetBrightness() <= .5) || 2216if (baseColor.GetBrightness() <= .5) { 2258if (backColor.GetBrightness() <= .5) {
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1381if (highlight.GetBrightness() < .5)