Base:
property
ForeColor
System.Windows.Forms.TextBoxBase.ForeColor
11 writes to ForeColor
System.Windows.Forms.Tests (11)
System\Windows\Forms\RichTextBoxTests.cs (11)
1690ForeColor = value 1696control.ForeColor = value; 1723control.ForeColor = value; 1731control.ForeColor = value; 1745control.ForeColor = Color.FromArgb(0x12, 0x34, 0x56, 0x78); 1760control.ForeColor = Color.FromArgb(0x12, 0x34, 0x56, 0x78); 1769control.ForeColor = Color.FromArgb(0x34, 0x56, 0x78, 0x90); 1792control.ForeColor = Color.Red; 1797control.ForeColor = Color.Red; 1802control.ForeColor = Color.Empty; 1808control.ForeColor = Color.Red;
13 references to ForeColor
System.Windows.Forms (4)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (4)
2456InternalSetForeColor(ForeColor); 3128if (ForeColor.IsSystemColor) 3130InternalSetForeColor(ForeColor); 3441InternalSetForeColor(ForeColor);
System.Windows.Forms.Tests (9)
System\Windows\Forms\RichTextBoxTests.cs (9)
82Assert.Equal(SystemColors.WindowText, control.ForeColor); 1692Assert.Equal(expected, control.ForeColor); 1697Assert.Equal(expected, control.ForeColor); 1724Assert.Equal(expected, control.ForeColor); 1732Assert.Equal(expected, control.ForeColor); 1793Assert.Equal(Color.Red, control.ForeColor); 1798Assert.Equal(Color.Red, control.ForeColor); 1803Assert.Equal(SystemColors.WindowText, control.ForeColor); 1809Assert.Equal(Color.Red, control.ForeColor);