7 writes to SelectedItemWithFocusForeColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
2482SelectedItemWithFocusForeColor = value 2488control.SelectedItemWithFocusForeColor = value; 2506control.SelectedItemWithFocusForeColor = value; 2514control.SelectedItemWithFocusForeColor = value; 2529control.SelectedItemWithFocusForeColor = Color.Red; 2545control.SelectedItemWithFocusForeColor = Color.Red;
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
136_propertyGrid.SelectedItemWithFocusForeColor = Color.Red;
14 references to SelectedItemWithFocusForeColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
1308public Color SelectedItemWithFocusForeColor => OwnerGrid.SelectedItemWithFocusForeColor;
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
141Assert.Equal(SystemColors.HighlightText, control.SelectedItemWithFocusForeColor); 2484Assert.Equal(value, control.SelectedItemWithFocusForeColor); 2489Assert.Equal(value, control.SelectedItemWithFocusForeColor); 2507Assert.Equal(value, control.SelectedItemWithFocusForeColor); 2515Assert.Equal(value, control.SelectedItemWithFocusForeColor); 2525PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusForeColor)]; 2530Assert.Equal(Color.Red, control.SelectedItemWithFocusForeColor); 2534Assert.Equal(SystemColors.HighlightText, control.SelectedItemWithFocusForeColor); 2541PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusForeColor)]; 2546Assert.Equal(Color.Red, control.SelectedItemWithFocusForeColor); 2550Assert.Equal(SystemColors.HighlightText, control.SelectedItemWithFocusForeColor);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
134_propertyGrid.SelectedItemWithFocusForeColor.Should().Be(SystemColors.HighlightText); 137_propertyGrid.SelectedItemWithFocusForeColor.Should().Be(Color.Red);