7 writes to SelectedItemWithFocusForeColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
2484SelectedItemWithFocusForeColor = value 2490control.SelectedItemWithFocusForeColor = value; 2508control.SelectedItemWithFocusForeColor = value; 2516control.SelectedItemWithFocusForeColor = value; 2531control.SelectedItemWithFocusForeColor = Color.Red; 2547control.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)
143Assert.Equal(SystemColors.HighlightText, control.SelectedItemWithFocusForeColor); 2486Assert.Equal(value, control.SelectedItemWithFocusForeColor); 2491Assert.Equal(value, control.SelectedItemWithFocusForeColor); 2509Assert.Equal(value, control.SelectedItemWithFocusForeColor); 2517Assert.Equal(value, control.SelectedItemWithFocusForeColor); 2527PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusForeColor)]; 2532Assert.Equal(Color.Red, control.SelectedItemWithFocusForeColor); 2536Assert.Equal(SystemColors.HighlightText, control.SelectedItemWithFocusForeColor); 2543PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusForeColor)]; 2548Assert.Equal(Color.Red, control.SelectedItemWithFocusForeColor); 2552Assert.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);