2 overrides of BackgroundImage
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
92
public override Image
BackgroundImage
{
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
53
public override Image
BackgroundImage
{
2 writes to BackgroundImage
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
623
menuItem.
BackgroundImage
= this.BackgroundImage;
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
59
base.
BackgroundImage
= value;
30 references to BackgroundImage
System.Windows.Forms (30)
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
485
if (
BackgroundImage
!= value) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
623
menuItem.BackgroundImage = this.
BackgroundImage
;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (12)
248
if (item.
BackgroundImage
!= null) {
250
ControlPaint.DrawBackgroundImage(g, item.
BackgroundImage
, item.BackColor, item.BackgroundImageLayout, bounds, fillRect);
322
if (item.
BackgroundImage
!= null) {
323
ControlPaint.DrawBackgroundImage(g, item.
BackgroundImage
, item.BackColor, item.BackgroundImageLayout, bounds, fillRect);
529
if (item.
BackgroundImage
!= null) {
530
ControlPaint.DrawBackgroundImage(g, item.
BackgroundImage
, item.BackColor, item.BackgroundImageLayout, bounds, fillRect);
572
if (item.
BackgroundImage
!= null) {
573
ControlPaint.DrawBackgroundImage(g, item.
BackgroundImage
, item.BackColor, item.BackgroundImageLayout, bounds, fillRect);
962
if (item.
BackgroundImage
!= null) {
963
ControlPaint.DrawBackgroundImage(g, item.
BackgroundImage
, item.BackColor, item.BackgroundImageLayout, bounds, fillRect);
1376
if (item.
BackgroundImage
!= null) {
1377
ControlPaint.DrawBackgroundImage(g, item.
BackgroundImage
, item.BackColor, item.BackgroundImageLayout, bounds, fillRect);
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
55
return base.
BackgroundImage
;
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (15)
378
if (item.
BackgroundImage
!= null) {
379
ControlPaint.DrawBackgroundImage(g, item.
BackgroundImage
, item.BackColor, item.BackgroundImageLayout, item.ContentRectangle, item.ContentRectangle);
418
if (item.
BackgroundImage
!= null) {
419
ControlPaint.DrawBackgroundImage(g, item.
BackgroundImage
, item.BackColor, item.BackgroundImageLayout, item.ContentRectangle, fillRect);
500
if (splitButton.
BackgroundImage
!= null) {
501
ControlPaint.DrawBackgroundImage(g, splitButton.
BackgroundImage
, splitButton.BackColor, splitButton.BackgroundImageLayout, fillRect, fillRect);
509
if (rightToLeft || splitButton.
BackgroundImage
!= null) {
518
if (splitButton.
BackgroundImage
!= null) {
521
if (splitButton.
BackgroundImage
!= null) {
522
ControlPaint.DrawBackgroundImage(g, splitButton.
BackgroundImage
, splitButton.BackColor, splitButton.BackgroundImageLayout, bounds, fillRect);
537
if (splitButton.
BackgroundImage
== null) {
584
if (item.
BackgroundImage
!= null) {
585
ControlPaint.DrawBackgroundImage(g, item.
BackgroundImage
, item.BackColor, item.BackgroundImageLayout, fillRect, fillRect);
704
if (item.
BackgroundImage
!= null) {
705
ControlPaint.DrawBackgroundImage(g, item.
BackgroundImage
, item.BackColor, item.BackgroundImageLayout, fillRect, fillRect);