7 writes to SelectedItemWithFocusForeColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
2482
SelectedItemWithFocusForeColor
= value
2488
control.
SelectedItemWithFocusForeColor
= value;
2506
control.
SelectedItemWithFocusForeColor
= value;
2514
control.
SelectedItemWithFocusForeColor
= value;
2529
control.
SelectedItemWithFocusForeColor
= Color.Red;
2545
control.
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)
1308
public Color SelectedItemWithFocusForeColor => OwnerGrid.
SelectedItemWithFocusForeColor
;
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
141
Assert.Equal(SystemColors.HighlightText, control.
SelectedItemWithFocusForeColor
);
2484
Assert.Equal(value, control.
SelectedItemWithFocusForeColor
);
2489
Assert.Equal(value, control.
SelectedItemWithFocusForeColor
);
2507
Assert.Equal(value, control.
SelectedItemWithFocusForeColor
);
2515
Assert.Equal(value, control.
SelectedItemWithFocusForeColor
);
2525
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
SelectedItemWithFocusForeColor
)];
2530
Assert.Equal(Color.Red, control.
SelectedItemWithFocusForeColor
);
2534
Assert.Equal(SystemColors.HighlightText, control.
SelectedItemWithFocusForeColor
);
2541
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
SelectedItemWithFocusForeColor
)];
2546
Assert.Equal(Color.Red, control.
SelectedItemWithFocusForeColor
);
2550
Assert.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);