Base:
property
BackColor
System.Windows.Forms.Control.BackColor
11 writes to BackColor
System.Windows.Forms.Tests (10)
System\Windows\Forms\PropertyGridTests.cs (10)
290BackColor = value 297control.BackColor = value; 322control.BackColor = value; 331control.BackColor = value; 356control.BackColor = Color.Red; 361control.BackColor = Color.Red; 366control.BackColor = Color.Empty; 372control.BackColor = Color.Red; 384control.BackColor = Color.Red; 400control.BackColor = Color.Red;
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
191_propertyGrid.BackColor = Color.Blue;
17 references to BackColor
System.Windows.Forms.Tests (15)
System\Windows\Forms\PropertyGridTests.cs (15)
42Assert.Equal(Control.DefaultBackColor, control.BackColor); 292Assert.Equal(expected, control.BackColor); 298Assert.Equal(expected, control.BackColor); 323Assert.Equal(expected, control.BackColor); 332Assert.Equal(expected, control.BackColor); 357Assert.Equal(Color.Red, control.BackColor); 362Assert.Equal(Color.Red, control.BackColor); 367Assert.Equal(Control.DefaultBackColor, control.BackColor); 373Assert.Equal(Color.Red, control.BackColor); 380PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.BackColor)]; 385Assert.Equal(Color.Red, control.BackColor); 389Assert.Equal(Control.DefaultBackColor, control.BackColor); 396PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.BackColor)]; 401Assert.Equal(Color.Red, control.BackColor); 405Assert.Equal(Control.DefaultBackColor, control.BackColor);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
189_propertyGrid.BackColor.Should().Be(SystemColors.Control); 192_propertyGrid.BackColor.Should().Be(Color.Blue);