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