1 override of BackColor
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
71public override Color BackColor {
3 writes to BackColor
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
3767BackColor = Color.Empty;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
622menuItem.BackColor = this.BackColor;
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
302splitButtonButton.BackColor = this.BackColor;
31 references to BackColor
System.Windows.Forms (31)
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
554Color c = BackColor; 559if (!c.Equals(BackColor)) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
622menuItem.BackColor = this.BackColor;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (12)
250ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, bounds, fillRect); 323ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, bounds, fillRect); 530ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, bounds, fillRect); 532else if (item.Owner != null && item.BackColor != item.Owner.BackColor) { 533using (Brush b = new SolidBrush(item.BackColor)) { 573ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, bounds, fillRect); 575else if (item.Owner != null && item.BackColor != item.Owner.BackColor) { 576using (Brush b = new SolidBrush(item.BackColor)) { 963ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, bounds, fillRect); 1377ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, bounds, fillRect); 1388else if (item.Owner != null && item.BackColor != item.Owner.BackColor) { 1389using (Brush b = new SolidBrush(item.BackColor)) {
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
302splitButtonButton.BackColor = this.BackColor;
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (15)
379ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, item.ContentRectangle, item.ContentRectangle); 382FillBackground(g, item.ContentRectangle, item.BackColor); 419ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, item.ContentRectangle, fillRect); 422FillBackground(g, fillRect, item.BackColor); 501ControlPaint.DrawBackgroundImage(g, splitButton.BackgroundImage, splitButton.BackColor, splitButton.BackgroundImageLayout, fillRect, fillRect); 522ControlPaint.DrawBackgroundImage(g, splitButton.BackgroundImage, splitButton.BackColor, splitButton.BackgroundImageLayout, bounds, fillRect); 526FillBackground(g,splitButtonButtonRect, splitButton.BackColor); 538FillBackground(g, dropDownRect, splitButton.BackColor); 585ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, fillRect, fillRect); 589if ((parent != null) && (state != ToolBarState.Checked) && (item.BackColor != parent.BackColor)) { 590FillBackground(g, fillRect, item.BackColor); 612Color backColor = item.BackColor; 705ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, fillRect, fillRect); 710if (vsRenderer == null || (item.BackColor != SystemColors.Control)) { 711FillBackground(g, fillRect, item.BackColor);