102 references to Inflate
System.Drawing.Primitives (2)
System\Drawing\Rectangle.cs (2)
259public void Inflate(Size size) => Inflate(size.Width, size.Height); 267r.Inflate(x, y);
System.Windows.Forms (66)
System\Windows\Forms\Control.cs (1)
8166rectangle.Inflate(-1, -1);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
430r.Inflate(1, 1);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (2)
273layout.Focus.Inflate(-1, -1); 486maxBounds.Inflate(1, 1);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (4)
17rect.Inflate(-Control.FlatAppearance.BorderSize, -Control.FlatAppearance.BorderSize); 71r.Inflate(-1, -1); 159r.Inflate(-1, -1); 248r.Inflate(-1, -1);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (6)
32r.Inflate(-1, -1); 78r.Inflate(-1, -1); 109r.Inflate(-2, -2); 126r.Inflate(-1, -1); 129r.Inflate(-1, -1); 134r.Inflate(1, 1);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (5)
67bounds.Inflate(-ButtonBorderSize, -ButtonBorderSize); 141bounds.Inflate(-BorderWidth, -BorderWidth); 146bounds.Inflate(-1, -1); 162layout.Focus.Inflate(1, 1); 190r.Inflate(-1, -1);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (2)
59bounds.Inflate(-1, -1); 228r.Inflate(-1, -1);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (2)
53bounds.Inflate(-1, -1); 88bounds.Inflate(-1, -1);
System\Windows\Forms\Controls\ComboBox\ComboBoxRenderer.cs (2)
38fillRect.Inflate(-2, -2); 79textBounds.Inflate(-2, -2);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
4374inside.Inflate(-borderWidth, -borderWidth); 16781focusRect.Inflate(1 - FocusRectOffset, 1 - FocusRectOffset); 17466newGridFocusRectangle.Inflate(1 - borderWidth - FocusRectOffset, 1 - borderWidth - FocusRectOffset);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (3)
757valBounds.Inflate(-SystemInformation.Border3DSize.Width, -SystemInformation.Border3DSize.Height); 764valBounds.Inflate(-1, -1); 799valBounds.Inflate(-1, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (2)
1148valBounds.Inflate(-DATAGRIDVIEWCHECKBOXCELL_margin, -DATAGRIDVIEWCHECKBOXCELL_margin); 1317checkBounds.Inflate(-1, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (2)
258valBounds.Inflate(16, 16); 260valBounds.Inflate(-16, -16);
System\Windows\Forms\Controls\GroupBox\GroupBoxRenderer.cs (1)
308textBounds.Inflate(2, 0);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2330rect.Inflate(-1, -1);
System\Windows\Forms\Controls\ListView\ListView.cs (2)
5028rectInvalid.Inflate(1, Font.Height + 1); 6902rect.Inflate(-1, -1);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (1)
106dropDownButtonRect.Inflate(-1, -1);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (1)
77rect.Inflate(0, -1);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
885clientRect.Inflate(-1, -1); 3264clipRect.Inflate(0, 2);
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
2902rect.Inflate(-1, -1);
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
829rect.Inflate(-1, -1);
System\Windows\Forms\Controls\TextBox\TextBoxRenderer.cs (1)
71textBounds.Inflate(-2, -2);
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
356bounds.Inflate(0, -4); // scoot down 4PX and start drawing 369bounds.Inflate(-2, 0); // scoot over 2PX and start drawing
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (1)
30bounds.Inflate(-1, -1);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
1502bounds.Inflate(0, -2); // scoot down 2PX and start drawing 1524bounds.Inflate(-2, 0); // scoot down 2PX and start drawing
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderEventArgs.cs (1)
112overlap.Inflate(1, 1);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (5)
310bounds.Inflate(0, -2); // scoot down 2PX and start drawing 319bounds.Inflate(-2, 0); // scoot over 2PX and start drawing 551splitButtonBounds.Inflate(2, 0); 710bounds.Inflate(0, -2); // scoot down 2PX and start drawing 730bounds.Inflate(-2, 0); // scoot over 2PX and start drawing
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
3154rect.Inflate(-1, -1);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (3)
560backRect.Inflate(1, 1); 584editBounds.Inflate(1, 1); 844clientArea.Inflate(-borderWidth, -borderWidth);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1463r.Inflate(-1, -1);
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
429rect.Inflate(-_focusHOffset, -_focusVOffset); 692box.Inflate(-1, -1);
System\Windows\Forms\Rendering\ControlPaint.cs (2)
1690rectangle.Inflate(-1, -1); 1694rectangle.Inflate(-1, -1);
System.Windows.Forms.Design (34)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (2)
575button.Inflate(-SystemInformation.BorderSize.Width * 2, -SystemInformation.BorderSize.Height * 2); 600baseVar.Inflate(-1, -1);
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (1)
238bounds.Inflate(-4, -4);
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
280rc.Inflate(-2, -2);
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (3)
374invalidRect.Inflate(1, 1); 394invalidRect.Inflate(1, 1); 536clipBounds.Inflate(-1, -1);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (2)
1009focusRectangle.Inflate(-1, -1); 1013focusRectangle.Inflate(1, 1);
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1864rect.Inflate(-2, -2);
System\Windows\Forms\Design\DesignerToolStripControlHost.cs (1)
55r.Inflate(-2, -2);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
465invalidRect.Inflate(_maxIBarWidth, _maxIBarWidth);
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
72containerRect.Inflate(snapSize.Width, snapSize.Height);
System\Windows\Forms\Design\SplitterPanelDesigner.cs (2)
156rectangle.Inflate(-4, -4); 166rectangle.Inflate(-4, -4);
System\Windows\Forms\Design\TabOrder.cs (2)
204ctlOuter.Inflate(_selSize, _selSize); 762rc.Inflate(_selSize, _selSize);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
2058r.Inflate(GLYPHBORDER, GLYPHBORDER);
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (9)
64r.Inflate(-3, -2); 69r.Inflate(0, -2); 73r.Inflate(-3, -3); 77r.Inflate(-1, -1); 458invalidateBounds.Inflate(GLYPHBORDER, GLYPHBORDER); 463invalidateBounds.Inflate(-GLYPHINSET, -GLYPHINSET); 469invalidateBounds.Inflate(-GLYPHINSET, -GLYPHINSET); 496invalidateBounds.Inflate(GLYPHBORDER, GLYPHBORDER); 499invalidateBounds.Inflate(-GLYPHINSET, -GLYPHINSET);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (3)
81bounds.Inflate(GLYPHBORDER, GLYPHBORDER); 85bounds.Inflate(-GLYPHINSET, -GLYPHINSET); 161bounds.Inflate(1, 1);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
925r.Inflate(GLYPHINSET, GLYPHINSET);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
1076r.Inflate(GLYPHINSET, GLYPHINSET);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
838invalidateBounds.Inflate(GLYPHBORDER, GLYPHBORDER); 840invalidateBounds.Inflate(-GLYPHINSET, -GLYPHINSET);