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