11 references to DeflateRect
System.Windows.Forms (11)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
565
Client = LayoutUtils.
DeflateRect
(clientRectangle, padding),
592
Client = LayoutUtils.
DeflateRect
(Control.ClientRectangle, Control.Padding),
System\Windows\Forms\Controls\Labels\Label.cs (1)
1254
Rectangle face = LayoutUtils.
DeflateRect
(ClientRectangle, Padding);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
145
private Rectangle ClientRectWithPadding => LayoutUtils.
DeflateRect
(ClientRectangle, Padding);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
344
Rectangle result = LayoutUtils.
DeflateRect
(ClientRectangle, Padding);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
650
Size size = LayoutUtils.
DeflateRect
(Bounds, Padding).Size;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
288
buttonBounds = LayoutUtils.
DeflateRect
(buttonBounds, deflatePadding);
562
bounds = LayoutUtils.
DeflateRect
(bounds, _scaledDropDownMenuItemPaintPadding);
System\Windows\Forms\Layout\FlowLayout.cs (1)
230
cellBounds = LayoutUtils.
DeflateRect
(cellBounds, elementProxy.Margin);
System\Windows\Forms\Layout\TableLayout.cs (1)
1260
cellBounds = LayoutUtils.
DeflateRect
(cellBounds, elementMargin);
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
210
return LayoutUtils.
DeflateRect
(rect, Padding);