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