Base:
property
ForeColor
System.Windows.Forms.Control.ForeColor
1 override of ForeColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
369public override Color ForeColor
17 writes to ForeColor
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
117ForeColor = dataGridViewCellStyle.ForeColor;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
283ForeColor = ForeColor 4376EditTextBox.ForeColor = drawReadOnly ? GrayTextColor : ForeColor;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
378base.ForeColor = value; 383base.ForeColor = value;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
270_upDownEdit.ForeColor = value;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
879ForeColor = SystemColors.WindowText
System.Windows.Forms.Tests (10)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
740ForeColor = Color.Blue, 951ForeColor = Color.Blue,
TextBoxBaseTests.cs (8)
1174ForeColor = value 1180control.ForeColor = value; 1207control.ForeColor = value; 1215control.ForeColor = value; 1237control.ForeColor = Color.Red; 1242control.ForeColor = Color.Red; 1247control.ForeColor = Color.Empty; 1253control.ForeColor = Color.Red;
14 references to ForeColor
System.Windows.Forms (2)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
371get => base.ForeColor;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
266get => _upDownEdit.ForeColor;
System.Windows.Forms.Tests (12)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (3)
78Assert.Equal(SystemColors.WindowText, control.ForeColor); 746Assert.Equal(expectedForeColor, control.ForeColor); 958Assert.Equal(expectedForeColor, control.ForeColor);
TextBoxBaseTests.cs (8)
1176Assert.Equal(expected, control.ForeColor); 1181Assert.Equal(expected, control.ForeColor); 1208Assert.Equal(expected, control.ForeColor); 1216Assert.Equal(expected, control.ForeColor); 1238Assert.Equal(Color.Red, control.ForeColor); 1243Assert.Equal(Color.Red, control.ForeColor); 1248Assert.Equal(SystemColors.WindowText, control.ForeColor); 1254Assert.Equal(Color.Red, control.ForeColor);
TextBoxTests.cs (1)
72Assert.Equal(SystemColors.WindowText, control.ForeColor);