3 writes to WindowText
System.Windows.Forms (3)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (3)
99
colors.
WindowText
= colors.WindowDisabled;
108
colors.
WindowText
= colors.WindowFrame;
117
colors.
WindowText
= hdc.FindNearestColor(colors.WindowText);
43 references to WindowText
System.Windows.Forms (43)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (1)
117
colors.WindowText = hdc.FindNearestColor(colors.
WindowText
);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (5)
75
PaintField(e, layout, colors, IsHighContrastHighlighted() ? SystemColors.HighlightText : colors.
WindowText
, drawFocus: false);
79
DrawFlatFocus(e, layout.Focus, colors.Options.HighContrast ? colors.
WindowText
: colors.ContrastButtonShadow);
163
PaintField(e, layout, colors, colors.
WindowText
, drawFocus: false);
167
DrawFlatFocus(e, layout.Focus, colors.Options.HighContrast ? colors.
WindowText
: colors.ContrastButtonShadow);
251
: colors.
WindowText
,
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (7)
40
state != CheckState.Indeterminate && IsHighContrastHighlighted() ? SystemColors.HighlightText : colors.
WindowText
,
44
? colors.
WindowText
82
PaintField(e, layout, colors, IsHighContrastHighlighted() ? SystemColors.HighlightText : colors.
WindowText
, drawFocus: true);
84
DrawDefaultBorder(e, r, colors.Options.HighContrast ? colors.
WindowText
: colors.ButtonShadow, Control.IsDefault);
132
PaintField(e, layout, colors, colors.
WindowText
, drawFocus: true);
135
DrawDefaultBorder(e, r, colors.Options.HighContrast ? colors.
WindowText
: colors.WindowFrame, Control.IsDefault);
136
ControlPaint.DrawBorderSimple(e, r, colors.Options.HighContrast ? colors.
WindowText
: GetContrastingBorderColor(colors.ButtonShadow));
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
182
PaintField(e, layout, colors, colors.
WindowText
, drawFocus: true);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxFlatAdapter.cs (3)
23
PaintFlatWorker(e, colors.
WindowText
, colors.Highlight, colors.WindowFrame, colors);
42
PaintFlatWorker(e, colors.
WindowText
, colors.LowHighlight, colors.WindowFrame, colors);
61
PaintFlatWorker(e, colors.
WindowText
, colors.Highlight, colors.WindowFrame, colors);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (6)
43
DrawCheckOnly(e, layout, colors, colors.
WindowText
);
46
PaintField(e, layout, colors, colors.
WindowText
, drawFocus: true);
74
DrawCheckOnly(e, layout, colors, colors.
WindowText
);
84
PaintField(e, layout, colors, colors.
WindowText
, drawFocus: true);
111
DrawCheckOnly(e, layout, colors, colors.
WindowText
);
114
PaintField(e, layout, colors, colors.
WindowText
, drawFocus: true);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxStandardAdapter.cs (1)
60
PaintField(e, layout, colors, colors.
WindowText
, drawFocus: true);
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (1)
37
}.Calculate().
WindowText
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonFlatAdapter.cs (3)
24
PaintFlatWorker(e, colors.
WindowText
, colors.Highlight, colors.WindowFrame, colors);
44
PaintFlatWorker(e, colors.
WindowText
, colors.LowHighlight, colors.WindowFrame, colors);
64
PaintFlatWorker(e, colors.
WindowText
, colors.Highlight, colors.WindowFrame, colors);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonPopupAdapter.cs (5)
32
DrawCheckOnly(e, layout, colors.
WindowText
, disabledColors: true);
35
PaintField(e, layout, colors, colors.
WindowText
, drawFocus: true);
57
DrawCheckOnly(e, layout, colors.
WindowText
, disabledColors: true);
60
PaintField(e, layout, colors, colors.
WindowText
, drawFocus: true);
84
PaintField(e, layout, colors, colors.
WindowText
, drawFocus: true);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonStandardAdapter.cs (1)
25
PaintField(e, layout, colors, colors.
WindowText
, drawFocus: true);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (6)
810
colors.Options.HighContrast ? colors.
WindowText
: colors.WindowFrame,
815
colors.Options.HighContrast ? colors.
WindowText
: colors.ButtonShadow,
831
colors.Options.HighContrast ? colors.
WindowText
: colors.ButtonShadow,
846
colors.Options.HighContrast ? colors.
WindowText
: colors.ButtonShadow,
851
colors.Options.HighContrast ? colors.
WindowText
: colors.ButtonShadow);
920
colors.Options.HighContrast ? colors.
WindowText
: colors.ContrastButtonShadow);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (3)
1435
colors.
WindowText
);
1485
colors.
WindowText
);
1532
colors.
WindowText
);