9 writes to CommandsBackColor
System.Windows.Forms.Tests (8)
System\Windows\Forms\PropertyGridTests.cs (8)
950CommandsBackColor = value 956control.CommandsBackColor = value; 974control.CommandsBackColor = value; 982control.CommandsBackColor = value; 997control.CommandsBackColor = Color.Red; 1013control.CommandsBackColor = Color.Red; 1026Assert.Throws<ArgumentException>(() => control.CommandsBackColor = Color.FromArgb(254, 1, 2, 3)); 1546CommandsBackColor = 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)
62Assert.Equal(SystemColors.Control, control.CommandsBackColor); 952Assert.Equal(expected, control.CommandsBackColor); 957Assert.Equal(expected, control.CommandsBackColor); 975Assert.Equal(expected, control.CommandsBackColor); 983Assert.Equal(expected, control.CommandsBackColor); 993PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBackColor)]; 998Assert.Equal(Color.Red, control.CommandsBackColor); 1002Assert.Equal(SystemColors.Control, control.CommandsBackColor); 1009PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBackColor)]; 1014Assert.Equal(Color.Red, control.CommandsBackColor); 1018Assert.Equal(SystemColors.Control, control.CommandsBackColor); 1556Assert.Equal(Color.FromArgb(255, 0, 0, 1), control.CommandsBackColor); 1566Assert.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);