12 references to ContentRectangle
System.Windows.Forms (12)
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (4)
249
Rectangle fillRect = (item.Selected) ? item.
ContentRectangle
: bounds;
320
Rectangle fillRect = (item.Selected) ? item.
ContentRectangle
:bounds;
960
Rectangle fillRect = (item.Selected) ? item.
ContentRectangle
:bounds;
1374
Rectangle fillRect = (item.Selected) ? item.
ContentRectangle
:bounds;
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (8)
379
ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, item.
ContentRectangle
, item.
ContentRectangle
);
382
FillBackground(g, item.
ContentRectangle
, item.BackColor);
419
ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, item.
ContentRectangle
, fillRect);
499
Rectangle fillRect = splitButton.
ContentRectangle
;
520
Rectangle fillRect = (splitButton.Selected) ? splitButton.
ContentRectangle
:bounds;
582
Rectangle fillRect = item.
ContentRectangle
;
702
Rectangle fillRect = item.
ContentRectangle
;