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