Base:
property
ForeColor
System.Windows.Forms.Control.ForeColor
8 writes to ForeColor
System.Windows.Forms.Tests (8)
System\Windows\Forms\UpDownBaseTests.cs (8)
948
ForeColor
= value
954
control.
ForeColor
= value;
972
control.
ForeColor
= value;
980
control.
ForeColor
= value;
1002
control.
ForeColor
= Color.Red;
1007
control.
ForeColor
= Color.Red;
1012
control.
ForeColor
= Color.Empty;
1018
control.
ForeColor
= Color.Red;
10 references to ForeColor
System.Windows.Forms.Tests (10)
System\Windows\Forms\DomainUpDownTests.cs (1)
100
_sub.
ForeColor
.Should().Be(SystemColors.WindowText);
System\Windows\Forms\UpDownBaseTests.cs (9)
87
Assert.Equal(SystemColors.WindowText, control.
ForeColor
);
950
Assert.Equal(expected, control.
ForeColor
);
955
Assert.Equal(expected, control.
ForeColor
);
973
Assert.Equal(expected, control.
ForeColor
);
981
Assert.Equal(expected, control.
ForeColor
);
1003
Assert.Equal(Color.Red, control.
ForeColor
);
1008
Assert.Equal(Color.Red, control.
ForeColor
);
1013
Assert.Equal(SystemColors.WindowText, control.
ForeColor
);
1019
Assert.Equal(Color.Red, control.
ForeColor
);