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