22 references to GrayText
System.Drawing.Common (2)
System\Drawing\SystemBrushes.cs (1)
30
public static Brush GrayText => FromSystemColor(SystemColors.
GrayText
);
System\Drawing\SystemPens.cs (1)
31
public static Pen GrayText => FromSystemColor(SystemColors.
GrayText
);
System.Windows.Forms (19)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (1)
62
colors.WindowDisabled = HighContrast ? SystemColors.
GrayText
: colors.ButtonShadow;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
43
protected static readonly Color DefaultTrailingForeColor = SystemColors.
GrayText
;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
546
Color boxColor = Enabled ? ForeColor : SystemColors.
GrayText
;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (3)
585
foreColor = SystemColors.
GrayText
;
606
foreColor = SystemColors.
GrayText
;
733
foreColor = SystemColors.
GrayText
;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
64
private static readonly Color s_trailingForeColor = SystemColors.
GrayText
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
141
_grayTextColor = SystemColors.
GrayText
;
385
return SystemColors.
GrayText
;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
3454
SystemColors.
GrayText
,
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
891
TextRenderer.DrawTextInternal(hdc, PlaceholderText, Font, rectangle, SystemColors.
GrayText
, TextRenderer.DefaultQuality, flags);
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (1)
378
Color grayText = SystemColors.
GrayText
;
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
907
: SystemColors.
GrayText
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemDarkModeRenderer.cs (3)
56
Color c when c == SystemColors.
GrayText
=> Color.FromArgb(153, 153, 153),
598
? GetDarkModeColor(SystemColors.
GrayText
)
650
using var highLightBrush = GetDarkModeBrush(SystemColors.
GrayText
);
System\Windows\Forms\Rendering\ControlPaint.cs (2)
1359
? (SystemInformation.HighContrast ? SystemColors.
GrayText
: SystemColors.ControlDark)
2064
TextRenderer.DrawTextInternal(dc, s, font, layoutRectangle, SystemColors.
GrayText
, quality, format);
System\Windows\Forms\Rendering\TextRenderer.cs (1)
552
return SystemColors.
GrayText
;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
704
dataSourceNode.ForeColor = SystemColors.
GrayText
;