7 writes to SelectedItemWithFocusBackColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
2406SelectedItemWithFocusBackColor = value 2412control.SelectedItemWithFocusBackColor = value; 2430control.SelectedItemWithFocusBackColor = value; 2438control.SelectedItemWithFocusBackColor = value; 2453control.SelectedItemWithFocusBackColor = Color.Red; 2469control.SelectedItemWithFocusBackColor = Color.Red;
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
127_propertyGrid.SelectedItemWithFocusBackColor = Color.Green;
14 references to SelectedItemWithFocusBackColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
1310public Color SelectedItemWithFocusBackColor => OwnerGrid.SelectedItemWithFocusBackColor;
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
142Assert.Equal(SystemColors.Highlight, control.SelectedItemWithFocusBackColor); 2408Assert.Equal(value, control.SelectedItemWithFocusBackColor); 2413Assert.Equal(value, control.SelectedItemWithFocusBackColor); 2431Assert.Equal(value, control.SelectedItemWithFocusBackColor); 2439Assert.Equal(value, control.SelectedItemWithFocusBackColor); 2449PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusBackColor)]; 2454Assert.Equal(Color.Red, control.SelectedItemWithFocusBackColor); 2458Assert.Equal(SystemColors.Highlight, control.SelectedItemWithFocusBackColor); 2465PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusBackColor)]; 2470Assert.Equal(Color.Red, control.SelectedItemWithFocusBackColor); 2474Assert.Equal(SystemColors.Highlight, control.SelectedItemWithFocusBackColor);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
125_propertyGrid.SelectedItemWithFocusBackColor.Should().Be(SystemColors.Highlight); 128_propertyGrid.SelectedItemWithFocusBackColor.Should().Be(Color.Green);