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