9 writes to CommandsBackColor
System.Windows.Forms.Tests (8)
System\Windows\Forms\PropertyGridTests.cs (8)
950
CommandsBackColor
= value
956
control.
CommandsBackColor
= value;
974
control.
CommandsBackColor
= value;
982
control.
CommandsBackColor
= value;
997
control.
CommandsBackColor
= Color.Red;
1013
control.
CommandsBackColor
= Color.Red;
1026
Assert.Throws<ArgumentException>(() => control.
CommandsBackColor
= Color.FromArgb(254, 1, 2, 3));
1546
CommandsBackColor
= Color.FromArgb(255, 0, 0, 1),
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
210
_propertyGrid.
CommandsBackColor
= Color.Green;
15 references to CommandsBackColor
System.Windows.Forms.Tests (13)
System\Windows\Forms\PropertyGridTests.cs (13)
62
Assert.Equal(SystemColors.Control, control.
CommandsBackColor
);
952
Assert.Equal(expected, control.
CommandsBackColor
);
957
Assert.Equal(expected, control.
CommandsBackColor
);
975
Assert.Equal(expected, control.
CommandsBackColor
);
983
Assert.Equal(expected, control.
CommandsBackColor
);
993
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
CommandsBackColor
)];
998
Assert.Equal(Color.Red, control.
CommandsBackColor
);
1002
Assert.Equal(SystemColors.Control, control.
CommandsBackColor
);
1009
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
CommandsBackColor
)];
1014
Assert.Equal(Color.Red, control.
CommandsBackColor
);
1018
Assert.Equal(SystemColors.Control, control.
CommandsBackColor
);
1556
Assert.Equal(Color.FromArgb(255, 0, 0, 1), control.
CommandsBackColor
);
1566
Assert.Equal(Color.FromArgb(255, 0, 0, 1), control.
CommandsBackColor
);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
208
_propertyGrid.
CommandsBackColor
.Should().Be(SystemColors.Control);
211
_propertyGrid.
CommandsBackColor
.Should().Be(Color.Green);