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