7 writes to SelectedItemWithFocusBackColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
2404
SelectedItemWithFocusBackColor
= value
2410
control.
SelectedItemWithFocusBackColor
= value;
2428
control.
SelectedItemWithFocusBackColor
= value;
2436
control.
SelectedItemWithFocusBackColor
= value;
2451
control.
SelectedItemWithFocusBackColor
= Color.Red;
2467
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)
1310
public Color SelectedItemWithFocusBackColor => OwnerGrid.
SelectedItemWithFocusBackColor
;
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
140
Assert.Equal(SystemColors.Highlight, control.
SelectedItemWithFocusBackColor
);
2406
Assert.Equal(value, control.
SelectedItemWithFocusBackColor
);
2411
Assert.Equal(value, control.
SelectedItemWithFocusBackColor
);
2429
Assert.Equal(value, control.
SelectedItemWithFocusBackColor
);
2437
Assert.Equal(value, control.
SelectedItemWithFocusBackColor
);
2447
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
SelectedItemWithFocusBackColor
)];
2452
Assert.Equal(Color.Red, control.
SelectedItemWithFocusBackColor
);
2456
Assert.Equal(SystemColors.Highlight, control.
SelectedItemWithFocusBackColor
);
2463
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
SelectedItemWithFocusBackColor
)];
2468
Assert.Equal(Color.Red, control.
SelectedItemWithFocusBackColor
);
2472
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);