7 writes to HelpForeColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
1901
HelpForeColor
= value
1907
control.
HelpForeColor
= value;
1925
control.
HelpForeColor
= value;
1933
control.
HelpForeColor
= value;
1948
control.
HelpForeColor
= Color.Red;
1964
control.
HelpForeColor
= Color.Red;
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
260
_propertyGrid.
HelpForeColor
= Color.Green;
13 references to HelpForeColor
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
108
Assert.Equal(SystemColors.ControlText, control.
HelpForeColor
);
1903
Assert.Equal(expected, control.
HelpForeColor
);
1908
Assert.Equal(expected, control.
HelpForeColor
);
1926
Assert.Equal(expected, control.
HelpForeColor
);
1934
Assert.Equal(expected, control.
HelpForeColor
);
1944
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
HelpForeColor
)];
1949
Assert.Equal(Color.Red, control.
HelpForeColor
);
1953
Assert.Equal(SystemColors.ControlText, control.
HelpForeColor
);
1960
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
HelpForeColor
)];
1965
Assert.Equal(Color.Red, control.
HelpForeColor
);
1969
Assert.Equal(SystemColors.ControlText, control.
HelpForeColor
);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
258
_propertyGrid.
HelpForeColor
.Should().Be(SystemColors.ControlText);
261
_propertyGrid.
HelpForeColor
.Should().Be(Color.Green);