15 writes to BackColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
319
_toolStrip.
BackColor
= value;
System.Windows.Forms.Tests (13)
System\Windows\Forms\StatusStripTests.Rendering.cs (1)
17
BackColor
= Color.Blue,
System\Windows\Forms\ToolStripItemTests.cs (2)
1548
BackColor
= Color.Red
1562
BackColor
= Color.Red
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (3)
30
yield return new object[] { new ToolStrip() {
BackColor
= Color.Red }, new Rectangle(0, 0, 100, 25), Color.Red };
53
yield return new object[] { new ToolStrip() {
BackColor
= Color.Red }, new Rectangle(1, 2, 3, 4), Color.Empty, Color.Red };
56
yield return new object[] { new ToolStrip() {
BackColor
= Color.Red }, new Rectangle(1, 2, 3, 4), Color.Blue, Color.Blue };
System\Windows\Forms\ToolStripTests.cs (6)
1069
BackColor
= value
1075
control.
BackColor
= value;
5881
control.
BackColor
= backColor;
6030
control.
BackColor
= backColor;
6079
control.
BackColor
= backColor;
6172
control.
BackColor
= backColor;
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
17
BackColor
= Color.Blue,
WinFormsControlsTest (1)
MenuStripAndCheckedListBox.Designer.cs (1)
65
this.menuStrip1.
BackColor
= System.Drawing.Color.IndianRed;
16 references to BackColor
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (3)
604
else if (item.Owner is not null && item.BackColor != item.Owner.
BackColor
)
655
else if (item.Owner is not null && item.BackColor != item.Owner.
BackColor
)
1587
else if (item.Owner is not null && item.BackColor != item.Owner.
BackColor
)
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (2)
303
Color backColor = e.ToolStrip.
BackColor
;
680
if ((parent is not null) && (state != ToolBarState.Checked) && (item.BackColor != parent.
BackColor
))
System.Windows.Forms.Tests (11)
System\Windows\Forms\MenuStripTests.cs (1)
30
Assert.Equal(Control.DefaultBackColor, control.
BackColor
);
System\Windows\Forms\PropertyGridTests.cs (4)
291
Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().
BackColor
);
297
Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().
BackColor
);
322
Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().
BackColor
);
331
Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().
BackColor
);
System\Windows\Forms\StatusStripTests.cs (1)
30
Assert.Equal(Control.DefaultBackColor, control.
BackColor
);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
34
Assert.Equal(Control.DefaultBackColor, control.
BackColor
);
System\Windows\Forms\ToolStripTests.cs (4)
34
Assert.Equal(Control.DefaultBackColor, control.
BackColor
);
192
Assert.Equal(Control.DefaultBackColor, control.
BackColor
);
1071
Assert.Equal(expected, control.
BackColor
);
1076
Assert.Equal(expected, control.
BackColor
);