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