11 references to DeflateRect
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
1510
layout.client = LayoutUtils.
DeflateRect
(clientRectangle, padding);
1536
layout.client = LayoutUtils.
DeflateRect
(Control.ClientRectangle, Control.Padding);
winforms\Managed\System\WinForms\Label.cs (1)
1517
Rectangle face = LayoutUtils.
DeflateRect
(ClientRectangle, Padding);
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (1)
224
cellBounds = LayoutUtils.
DeflateRect
(cellBounds, elementProxy.Margin);
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
1226
cellBounds = LayoutUtils.
DeflateRect
(cellBounds, elementMargin);
winforms\Managed\System\WinForms\LinkLabel.cs (1)
199
return LayoutUtils.
DeflateRect
(ClientRectangle, Padding);
winforms\Managed\System\WinForms\PictureBox.cs (1)
439
Rectangle result = LayoutUtils.
DeflateRect
(ClientRectangle, Padding);
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
276
return LayoutUtils.
DeflateRect
(rect, Padding);
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
812
Size size = LayoutUtils.
DeflateRect
(this.Bounds, this.Padding).Size;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
266
buttonBounds = LayoutUtils.
DeflateRect
(buttonBounds, deflatePadding);
506
bounds = LayoutUtils.
DeflateRect
(bounds, scaledDropDownMenuItemPaintPadding);