Base:
property
BackColor
System.Windows.Forms.Control.BackColor
12 writes to BackColor
System.Windows.Forms (1)
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
30BackColor = SystemColors.Control;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
237BackColor = SystemColors.Window,
System.Windows.Forms.Tests (10)
System\Windows\Forms\TreeViewTests.cs (10)
708BackColor = value 714control.BackColor = value; 738control.BackColor = value; 746control.BackColor = value; 768control.BackColor = Color.Red; 773control.BackColor = Color.Red; 778control.BackColor = Color.Empty; 784control.BackColor = Color.Red; 6020BackColor = Color.Red, 6100BackColor = Color.Red,
16 references to BackColor
System.Windows.Forms (3)
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
204PInvokeCore.SendMessage(this, PInvoke.TVM_SETBKCOLOR, 0, BackColor.ToWin32()); 1883Color c = BackColor; 2852using var brush = BackColor.GetCachedSolidBrushScope();
System.Windows.Forms.Tests (13)
System\Windows\Forms\TreeViewTests.cs (13)
25Assert.Equal(SystemColors.Window, control.BackColor); 710Assert.Equal(expected, control.BackColor); 715Assert.Equal(expected, control.BackColor); 739Assert.Equal(expected, control.BackColor); 747Assert.Equal(expected, control.BackColor); 769Assert.Equal(Color.Red, control.BackColor); 774Assert.Equal(Color.Red, control.BackColor); 779Assert.Equal(SystemColors.Window, control.BackColor); 785Assert.Equal(Color.Red, control.BackColor); 6048Assert.Equal(Color.Red, control.BackColor); 6066Assert.Equal(Color.Red, control.BackColor); 6129Assert.Equal(Color.Red, control.BackColor); 6147Assert.Equal(Color.Red, control.BackColor);