9 references to IsHighContrastHighlighted2
System.Windows.Forms (9)
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (4)
74PaintBackground(e, r, IsHighContrastHighlighted2() ? SystemColors.Highlight : backColor); 81PaintField(e, layout, colors, IsHighContrastHighlighted2() ? SystemColors.HighlightText : colors.windowText, false); 233PaintBackground(e, r, IsHighContrastHighlighted2() ? SystemColors.Highlight : backColor); 240PaintField(e, layout, colors, IsHighContrastHighlighted2() ? SystemColors.HighlightText : colors.windowText, false);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (4)
43Control.PaintBackground(e, r, IsHighContrastHighlighted2() ? SystemColors.Highlight : Control.BackColor, r.Location); 51PaintField(e, layout, colors, state != CheckState.Indeterminate && IsHighContrastHighlighted2() ? SystemColors.HighlightText : colors.windowText, true); 83Control.PaintBackground(e, r, IsHighContrastHighlighted2() ? SystemColors.Highlight : Control.BackColor, r.Location); 91PaintField(e, layout, colors, IsHighContrastHighlighted2() ? SystemColors.HighlightText : colors.windowText, true);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
186if (up & IsHighContrastHighlighted2()) {