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