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