7 writes to CategoryForeColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
709
CategoryForeColor
= value
715
control.
CategoryForeColor
= value;
733
control.
CategoryForeColor
= value;
741
control.
CategoryForeColor
= value;
756
control.
CategoryForeColor
= Color.Red;
772
control.
CategoryForeColor
= Color.Red;
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
367
_propertyGrid.
CategoryForeColor
= SystemColors.MenuHighlight;
14 references to CategoryForeColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (1)
62
protected override Color LabelTextColor => OwnerGrid.
CategoryForeColor
;
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
56
Assert.Equal(SystemColors.ControlText, control.
CategoryForeColor
);
711
Assert.Equal(value, control.
CategoryForeColor
);
716
Assert.Equal(value, control.
CategoryForeColor
);
734
Assert.Equal(value, control.
CategoryForeColor
);
742
Assert.Equal(value, control.
CategoryForeColor
);
752
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
CategoryForeColor
)];
757
Assert.Equal(Color.Red, control.
CategoryForeColor
);
761
Assert.Equal(SystemColors.ControlText, control.
CategoryForeColor
);
768
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
CategoryForeColor
)];
773
Assert.Equal(Color.Red, control.
CategoryForeColor
);
777
Assert.Equal(SystemColors.ControlText, control.
CategoryForeColor
);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
365
_propertyGrid.
CategoryForeColor
.Should().Be(SystemColors.ControlText);
368
_propertyGrid.
CategoryForeColor
.Should().Be(SystemColors.MenuHighlight);