14 references to DeflateRect
System.Windows.Forms (14)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (3)
105options.Client = LayoutUtils.DeflateRect(contentBounds, Control.Padding); 657Client = LayoutUtils.DeflateRect(clientRectangle, padding), 684Client = LayoutUtils.DeflateRect(Control.ClientRectangle, Control.Padding),
System\Windows\Forms\Controls\Labels\Label.cs (1)
1252Rectangle face = LayoutUtils.DeflateRect(ClientRectangle, Padding);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
149private Rectangle ClientRectWithPadding => LayoutUtils.DeflateRect(ClientRectangle, Padding);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
341Rectangle 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); 561bounds = LayoutUtils.DeflateRect(bounds, _scaledDropDownMenuItemPaintPadding);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
935Rectangle clientArea = LayoutUtils.DeflateRect( 1026Rectangle clientArea = LayoutUtils.DeflateRect(
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)
208return LayoutUtils.DeflateRect(rect, Padding);