12 references to IsHighContrastHighlighted
System.Windows.Forms (12)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (4)
67
PaintBackground(e, r,
IsHighContrastHighlighted
() ? SystemColors.Highlight : backColor);
75
PaintField(e, layout, colors,
IsHighContrastHighlighted
() ? SystemColors.HighlightText : colors.WindowText, drawFocus: false);
244
PaintBackground(e, r,
IsHighContrastHighlighted
() ? SystemColors.Highlight : backColor);
256
IsHighContrastHighlighted
() ? SystemColors.HighlightText : colors.WindowText,
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (4)
27
Control.PaintBackground(e, r,
IsHighContrastHighlighted
() ? SystemColors.Highlight : Control.BackColor, r.Location);
40
state != CheckState.Indeterminate &&
IsHighContrastHighlighted
() ? SystemColors.HighlightText : colors.WindowText,
73
Control.PaintBackground(e, r,
IsHighContrastHighlighted
() ? SystemColors.Highlight : Control.BackColor, r.Location);
82
PaintField(e, layout, colors,
IsHighContrastHighlighted
() ? SystemColors.HighlightText : colors.WindowText, drawFocus: true);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (3)
72
bool isHighContrastHighlighted = up &&
IsHighContrastHighlighted
();
165
if (up &
IsHighContrastHighlighted
())
176
else if (up &
IsHighContrastHighlighted
())
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (1)
89
bool isHighContrastHighlighted = !Control.MouseIsDown &&
IsHighContrastHighlighted
();