7 writes to SelectedItemWithFocusBackColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
2441SelectedItemWithFocusBackColor = value 2447control.SelectedItemWithFocusBackColor = value; 2465control.SelectedItemWithFocusBackColor = value; 2473control.SelectedItemWithFocusBackColor = value; 2488control.SelectedItemWithFocusBackColor = Color.Red; 2504control.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)
1333public Color SelectedItemWithFocusBackColor => OwnerGrid.SelectedItemWithFocusBackColor;
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
142Assert.Equal(SystemColors.Highlight, control.SelectedItemWithFocusBackColor); 2443Assert.Equal(value, control.SelectedItemWithFocusBackColor); 2448Assert.Equal(value, control.SelectedItemWithFocusBackColor); 2466Assert.Equal(value, control.SelectedItemWithFocusBackColor); 2474Assert.Equal(value, control.SelectedItemWithFocusBackColor); 2484PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusBackColor)]; 2489Assert.Equal(Color.Red, control.SelectedItemWithFocusBackColor); 2493Assert.Equal(SystemColors.Highlight, control.SelectedItemWithFocusBackColor); 2500PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusBackColor)]; 2505Assert.Equal(Color.Red, control.SelectedItemWithFocusBackColor); 2509Assert.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);