15 references to ContentRectangle
System.Windows.Forms (15)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (4)
269
Rectangle fillRect = item.Selected ? item.
ContentRectangle
: bounds;
354
Rectangle fillRect = item is not null && item.Selected ? item.
ContentRectangle
: bounds;
1109
Rectangle fillRect = item.Selected ? item.
ContentRectangle
: bounds;
1569
Rectangle fillRect = (item.Selected) ? item.
ContentRectangle
: bounds;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemDarkModeRenderer.cs (3)
253
bounds: e.Item.
ContentRectangle
,
360
Rectangle bounds = e.Item.
ContentRectangle
;
441
Rectangle arrowRect = item.
ContentRectangle
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (8)
481
ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, item.
ContentRectangle
, item.
ContentRectangle
);
485
FillBackground(g, item.
ContentRectangle
, item.BackColor);
526
ControlPaint.DrawBackgroundImage(g, item.BackgroundImage, item.BackColor, item.BackgroundImageLayout, item.
ContentRectangle
, fillRect);
622
Rectangle fillRect = splitButton.
ContentRectangle
;
658
Rectangle fillRect = splitButton.Selected ? splitButton.
ContentRectangle
: bounds;
730
Rectangle fillRect = item.
ContentRectangle
;
852
Rectangle fillRect = item.
ContentRectangle
;