7 writes to SelectedItemWithFocusBackColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
2406
SelectedItemWithFocusBackColor
= value
2412
control.
SelectedItemWithFocusBackColor
= value;
2430
control.
SelectedItemWithFocusBackColor
= value;
2438
control.
SelectedItemWithFocusBackColor
= value;
2453
control.
SelectedItemWithFocusBackColor
= Color.Red;
2469
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)
142
Assert.Equal(SystemColors.Highlight, control.
SelectedItemWithFocusBackColor
);
2408
Assert.Equal(value, control.
SelectedItemWithFocusBackColor
);
2413
Assert.Equal(value, control.
SelectedItemWithFocusBackColor
);
2431
Assert.Equal(value, control.
SelectedItemWithFocusBackColor
);
2439
Assert.Equal(value, control.
SelectedItemWithFocusBackColor
);
2449
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
SelectedItemWithFocusBackColor
)];
2454
Assert.Equal(Color.Red, control.
SelectedItemWithFocusBackColor
);
2458
Assert.Equal(SystemColors.Highlight, control.
SelectedItemWithFocusBackColor
);
2465
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
SelectedItemWithFocusBackColor
)];
2470
Assert.Equal(Color.Red, control.
SelectedItemWithFocusBackColor
);
2474
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);