26 references to HighlightText
System.Drawing (2)
commonui\System\Drawing\SystemBrushes.cs (1)
214
return FromSystemColor(SystemColors.
HighlightText
);
commonui\System\Drawing\SystemPens.cs (1)
214
return FromSystemColor(SystemColors.
HighlightText
);
System.Windows.Forms (23)
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (2)
81
PaintField(e, layout, colors, IsHighContrastHighlighted2() ? SystemColors.
HighlightText
: colors.windowText, false);
240
PaintField(e, layout, colors, IsHighContrastHighlighted2() ? SystemColors.
HighlightText
: colors.windowText, false);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (2)
51
PaintField(e, layout, colors, state != CheckState.Indeterminate && IsHighContrastHighlighted2() ? SystemColors.
HighlightText
: colors.windowText, true);
91
PaintField(e, layout, colors, IsHighContrastHighlighted2() ? SystemColors.
HighlightText
: colors.windowText, true);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (2)
187
var highlightTextColor = SystemColors.
HighlightText
;
196
PaintField(e, layout, colors, SystemColors.
HighlightText
, true);
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
748
foreColor = SystemColors.
HighlightText
;
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (2)
406
return this.Selected ? SystemColors.
HighlightText
: LinkUtilities.GetVisitedLinkColor();
462
return this.Selected ? SystemColors.
HighlightText
: SystemColors.HotTrack;
winforms\Managed\System\WinForms\DrawItemEvent.cs (1)
142
return SystemColors.
HighlightText
;
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (1)
509
Color highlightText = SystemColors.
HighlightText
;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
99
private Color selectedItemWithFocusForeColor = SystemColors.
HighlightText
;
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
215
ControlPaint.DrawImageReplaceColor(graphics, image, imageBounds, Color.Black, SystemColors.
HighlightText
);
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
184
arrowColor = Enabled ? SystemColors.
HighlightText
: SystemColors.ControlDark;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (6)
117
SystemColors.
HighlightText
: SystemColors.MenuText;
154
Color arrowColor = AccessibilityImprovements.Level2 && item.Selected && !item.Pressed ? SystemColors.
HighlightText
: SystemColors.ControlText;
197
e.DefaultTextColor = SystemColors.
HighlightText
;
199
else if (e.TextColor != SystemColors.
HighlightText
&& e.TextColor != SystemColors.ControlText) {
202
e.DefaultTextColor = SystemColors.
HighlightText
;
216
e.TextColor = SystemColors.
HighlightText
;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
1066
textColor = SystemColors.
HighlightText
;
1114
Color arrowColor = (Selected ||Pressed) ? SystemColors.
HighlightText
: SystemColors.MenuText;
winforms\Managed\System\WinForms\TreeView.cs (1)
2838
Color color = (((curState & TreeNodeStates.Selected) == TreeNodeStates.Selected) && node.TreeView.Focused) ? SystemColors.
HighlightText
: (node.ForeColor != Color.Empty) ? node.ForeColor : node.TreeView.ForeColor;
System.Workflow.Activities (1)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
286
listViewItem.ForeColor = SystemColors.
HighlightText
;