132 references to Inflate
System.Drawing (2)
commonui\System\Drawing\Rectangle.cs (2)
405
Inflate
(size.Width, size.Height);
418
r.
Inflate
(x, y);
System.Windows.Forms (84)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (3)
599
r.
Inflate
(1, 1);
1124
layout.focus.
Inflate
(-1, -1);
1311
maxBounds.
Inflate
(1, 1);
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (4)
27
rect.
Inflate
(-Control.FlatAppearance.BorderSize,-Control.FlatAppearance.BorderSize);
77
r.
Inflate
(-1, -1);
152
r.
Inflate
(-1, -1);
236
r.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (6)
47
r.
Inflate
(-1, -1);
87
r.
Inflate
(-1, -1);
117
r.
Inflate
(-2, -2);
134
r.
Inflate
(-1, -1);
136
r.
Inflate
(-1, -1);
141
r.
Inflate
(1, 1);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (5)
84
bounds.
Inflate
(-buttonBorderSize, -buttonBorderSize);
163
bounds.
Inflate
(-borderWidth, -borderWidth); // VS Whidbey #459900
167
bounds.
Inflate
(-1, -1); // VS Whidbey #503487
183
layout.focus.
Inflate
(1, 1);
205
r.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (2)
63
bounds.
Inflate
(-1, -1);
190
r.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (2)
54
bounds.
Inflate
(-1, -1);
85
bounds.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (2)
55
fillRect.
Inflate
(-2, -2);
117
textBounds.
Inflate
(-2,-2);
winforms\Managed\System\WinForms\Control.cs (1)
9745
rectangle.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\ControlPaint.cs (2)
1678
rectangle.
Inflate
(-1, -1);
1687
rectangle.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\DataGrid.cs (3)
5347
inside.
Inflate
(-borderWidth, -borderWidth);
7134
boundingRect.
Inflate
(-1, -1);
7251
triBounds.
Inflate
(-deflateValue, -deflateValue);
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (2)
410
bounds.
Inflate
(-1,-1);
416
bounds.
Inflate
(1,1);
winforms\Managed\System\WinForms\DataGridCaption.cs (6)
352
r.
Inflate
(1,1);
357
r.
Inflate
(1,1);
510
backButtonRect.
Inflate
(1,1);
528
downButtonRect.
Inflate
(1,1);
564
textBounds.
Inflate
(-1,-1);
581
textBounds.
Inflate
(-textPadding, -textPadding);
winforms\Managed\System\WinForms\DataGridParentRows.cs (5)
545
bounds.
Inflate
(-borderWidth, -borderWidth);
818
layout.leftArrow.
Inflate
(-1,-1);
822
layout.leftArrow.
Inflate
(1,1);
847
layout.rightArrow.
Inflate
(-1,-1);
851
layout.rightArrow.
Inflate
(1,1);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (3)
290
insideRowHeaders.
Inflate
(-1,-1);
593
insideBounds.
Inflate
(-1,-1);
663
relRect.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (3)
796
valBounds.
Inflate
(-SystemInformation.Border3DSize.Width, -SystemInformation.Border3DSize.Height);
802
valBounds.
Inflate
(-1, -1);
868
valBounds.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
1251
valBounds.
Inflate
(-DATAGRIDVIEWCHECKBOXCELL_margin, -DATAGRIDVIEWCHECKBOXCELL_margin);
1398
checkBounds.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
4342
inside.
Inflate
(-borderWidth, -borderWidth);
17223
focusRect.
Inflate
(1 - FOCUS_RECT_OFFSET, 1 - FOCUS_RECT_OFFSET);
17897
newGridFocusRectangle.
Inflate
(1 - borderWidth - FOCUS_RECT_OFFSET, 1 - borderWidth - FOCUS_RECT_OFFSET);
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (2)
299
valBounds.
Inflate
(16, 16);
301
valBounds.
Inflate
(-16, -16);
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (1)
279
textBounds.
Inflate
(2, 0);
winforms\Managed\System\WinForms\ListBox.cs (1)
2284
rect.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\ListView.cs (2)
4730
rectInvalid.
Inflate
(1, this.Font.Height + 1);
6233
rect.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
3185
rect.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
640
box.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (2)
113
dropDownButtonRect.
Inflate
(-1, -1);
204
rect.
Inflate
(0, -1);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
1050
clientRect.
Inflate
(-1,-1);
3455
clipRect.
Inflate
(0,2);
winforms\Managed\System\WinForms\SplitContainer.cs (1)
1622
r.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\TextBox.cs (1)
853
rect.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\TextBoxRenderer.cs (1)
103
textBounds.
Inflate
(-2, -2);
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (2)
318
bounds.
Inflate
(0, -4); // scoot down 4PX and start drawing
330
bounds.
Inflate
(-2, 0); // scoot over 2PX and start drawing
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
835
regionRect.
Inflate
(-1,-1); //squish down by one pixel
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
1303
bounds.
Inflate
(0, -2); // scoot down 2PX and start drawing
1325
bounds.
Inflate
(-2, 0); // scoot down 2PX and start drawing
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (1)
117
overlap.
Inflate
(1,1);
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (5)
283
bounds.
Inflate
(0,-2); // scoot down 2PX and start drawing
289
bounds.
Inflate
(-2,0); // scoot over 2PX and start drawing
487
splitButtonBounds.
Inflate
(2,0);
620
bounds.
Inflate
(0,-2); // scoot down 2PX and start drawing
640
bounds.
Inflate
(-2,0); // scoot over 2PX and start drawing
winforms\Managed\System\WinForms\TreeView.cs (1)
3139
rect.
Inflate
(-1, -1);
winforms\Managed\System\WinForms\UpDownBase.cs (3)
839
backRect.
Inflate
(1, 1);
855
editBounds.
Inflate
(1, 1);
1101
clientArea.
Inflate
(-borderWidth, -borderWidth);
System.Workflow.Activities (3)
Designers\StateDesigner.cs (1)
709
bounds.
Inflate
(0, 4);
Designers\StateDesigner.Layouts.cs (1)
1206
rectangle.
Inflate
(-1, -1);
Designers\StateDesignerConnector.cs (1)
245
bounds.
Inflate
(-1, -1);
System.Workflow.ComponentModel (43)
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
998
rectangle.
Inflate
(ambientTheme.Margin.Width / 2, ambientTheme.Margin.Height / 2);
AuthoringOM\Design\Connector.cs (5)
173
bounds.
Inflate
(-1, -1);
177
bounds.
Inflate
(-1, -1);
315
bounds.
Inflate
(1, 1);
534
bounds.
Inflate
(-1, -1);
1079
bounds.
Inflate
(1, 1);
AuthoringOM\Design\DesignerHelpers.cs (8)
242
selectionRect.
Inflate
(selectionSize.Width, selectionSize.Height);
244
selectionRect.
Inflate
(-selectionSize.Width / 2, -selectionSize.Height / 2);
247
selectionRect.
Inflate
(selectionSize.Width / 2, selectionSize.Height / 2);
320
bounds.
Inflate
(-2, -2);
439
shadowRectangle.
Inflate
(shadowDepth, shadowDepth);
469
shadowRectangle.
Inflate
(-1, -1);
515
bounds.
Inflate
(-margin.Width, -margin.Height);
1895
enclosingRect.
Inflate
(4, 4);
AuthoringOM\Design\DesignerWidgets.cs (16)
160
buttonBounds.
Inflate
(-base.itemStrip.ItemSize.Width / 6, -base.itemStrip.ItemSize.Height / 4);
162
buttonBounds.
Inflate
(-base.itemStrip.ItemSize.Width / 4, -base.itemStrip.ItemSize.Height / 6);
169
buttonBounds.
Inflate
(inflateSize.Width, inflateSize.Height);
174
buttonBounds.
Inflate
(-inflateSize.Width, -inflateSize.Height);
241
itemRectangle.
Inflate
(-2, -2);
2088
imageRectangle.
Inflate
(-TabMargin, -TabMargin);
2105
textRectangle.
Inflate
(-TabMargin, -TabMargin);
2748
itemRectangle.
Inflate
(selectionSize, selectionSize);
2763
stripRectangle.
Inflate
(-2, -2);
3375
this.canvasBounds.
Inflate
(margin.Width * 2, margin.Height * 2);
3427
canvasRect.
Inflate
(2, 2);
3429
canvasRect.
Inflate
(-1, -1);
3434
canvasRect.
Inflate
(-1, -1);
3444
descriptionRectangle.
Inflate
(-margin.Width, -margin.Height);
3474
indicatorBounds.
Inflate
(-margin.Width, -margin.Height);
3482
previewDesignerViewPort.
Inflate
(margin.Width, margin.Height);
AuthoringOM\Design\Glyphs\ConfigErrorGlyph.cs (1)
59
bounds.
Inflate
(ambientTheme.Margin.Width / 2, ambientTheme.Margin.Height / 2);
AuthoringOM\Design\Glyphs\SelectionGlyph.cs (2)
21
rectangle.
Inflate
(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize.Width / 2, WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize.Height / 2);
45
selectionRect.
Inflate
(selectionSize.Width, selectionSize.Height);
AuthoringOM\Design\Glyphs\ShadowGlyph.cs (1)
32
bounds.
Inflate
(AmbientTheme.DropShadowWidth + 1, AmbientTheme.DropShadowWidth + 1);
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (3)
324
bounds.
Inflate
(-action.DockMargin.Width, -action.DockMargin.Height);
546
buttonBounds.
Inflate
(-2, -2);
558
buttonBounds.
Inflate
(-2, -2);
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (1)
233
rectangle.
Inflate
(2 * ambientTheme.Margin.Width, 2 * ambientTheme.Margin.Height);
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (1)
279
clipBounds.
Inflate
(-2 * selectionSize.Width, -2 * selectionSize.Height);
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
255
connectorBounds[i].
Inflate
(3 * connectorBounds[i].Width, 0);
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (1)
304
bounds.
Inflate
(-e.AmbientTheme.Margin.Width, -e.AmbientTheme.Margin.Height);
AuthoringOM\Design\WorkflowLayouts.cs (1)
259
rootBounds.
Inflate
(ActivityRootLayout.Separator.Width / 2, ActivityRootLayout.Separator.Height / 2);
AuthoringOM\Design\WorkflowView.cs (1)
2015
clientRectangle.
Inflate
(1, 1);