7 writes to CategoryForeColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
709CategoryForeColor = value 715control.CategoryForeColor = value; 733control.CategoryForeColor = value; 741control.CategoryForeColor = value; 756control.CategoryForeColor = Color.Red; 772control.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)
62protected override Color LabelTextColor => OwnerGrid.CategoryForeColor;
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
56Assert.Equal(SystemColors.ControlText, control.CategoryForeColor); 711Assert.Equal(value, control.CategoryForeColor); 716Assert.Equal(value, control.CategoryForeColor); 734Assert.Equal(value, control.CategoryForeColor); 742Assert.Equal(value, control.CategoryForeColor); 752PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CategoryForeColor)]; 757Assert.Equal(Color.Red, control.CategoryForeColor); 761Assert.Equal(SystemColors.ControlText, control.CategoryForeColor); 768PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CategoryForeColor)]; 773Assert.Equal(Color.Red, control.CategoryForeColor); 777Assert.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);