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