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