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