2 overrides of BackgroundImage
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
69public override Image? BackgroundImage
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
33public override Image? BackgroundImage
2 writes to BackgroundImage
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
497menuItem.BackgroundImage = BackgroundImage;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
36set => base.BackgroundImage = value;
31 references to BackgroundImage
System.Windows.Forms (31)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
497menuItem.BackgroundImage = BackgroundImage;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (12)
267if (item.BackgroundImage is not null) 270ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, bounds, fillRect); 356if (item?.BackgroundImage is not null) 358ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, bounds, fillRect); 593if (item.BackgroundImage is not null) 597item.BackgroundImage, 650if (item.BackgroundImage is not null) 652ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, bounds, fillRect); 1111if (item.BackgroundImage is not null) 1113ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, bounds, fillRect); 1571if (item.BackgroundImage is not null) 1573ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, bounds, fillRect);
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
35get => base.BackgroundImage;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemDarkModeRenderer.cs (2)
246if (e.Item.BackgroundImage is not null) 250backgroundImage: e.Item.BackgroundImage,
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (15)
479if (item.BackgroundImage is not null) 481ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, item.ContentRectangle, item.ContentRectangle); 524if (item.BackgroundImage is not null) 526ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, item.ContentRectangle, fillRect); 623if (splitButton.BackgroundImage is not null) 625ControlPaint.DrawBackgroundImage(g, splitButton.BackgroundImage, splitButton.BackColor, splitButton.BackgroundImageLayout, fillRect, fillRect); 633if (rightToLeft || splitButton.BackgroundImage is not null) 653if (splitButton.BackgroundImage is not null) 659if (splitButton.BackgroundImage is not null) 661ControlPaint.DrawBackgroundImage(g, splitButton.BackgroundImage, splitButton.BackColor, splitButton.BackgroundImageLayout, bounds, fillRect); 677if (splitButton.BackgroundImage is null) 732if (item.BackgroundImage is not null) 734ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, fillRect, fillRect); 854if (item.BackgroundImage is not null) 856ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, fillRect, fillRect);