7 writes to CategorySplitterColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
787CategorySplitterColor = value 793control.CategorySplitterColor = value; 811control.CategorySplitterColor = value; 819control.CategorySplitterColor = value; 834control.CategorySplitterColor = Color.Red; 850control.CategorySplitterColor = Color.Red;
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
154_propertyGrid.CategorySplitterColor = Color.Green;
15 references to CategorySplitterColor
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (2)
136using var topLinePen = OwnerGrid.CategorySplitterColor.GetCachedPenScope(); 153using var topLinePen = OwnerGrid.CategorySplitterColor.GetCachedPenScope();
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
57Assert.Equal(SystemColors.Control, control.CategorySplitterColor); 789Assert.Equal(value, control.CategorySplitterColor); 794Assert.Equal(value, control.CategorySplitterColor); 812Assert.Equal(value, control.CategorySplitterColor); 820Assert.Equal(value, control.CategorySplitterColor); 830PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CategorySplitterColor)]; 835Assert.Equal(Color.Red, control.CategorySplitterColor); 839Assert.Equal(SystemColors.Control, control.CategorySplitterColor); 846PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CategorySplitterColor)]; 851Assert.Equal(Color.Red, control.CategorySplitterColor); 855Assert.Equal(SystemColors.Control, control.CategorySplitterColor);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
152_propertyGrid.CategorySplitterColor.Should().Be(SystemColors.Control); 155_propertyGrid.CategorySplitterColor.Should().Be(Color.Green);