18 references to Inflate
System.Windows.Forms (17)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (3)
1111layout.face = Rectangle.Inflate(layout.client, -fullBorderSize, -fullBorderSize); 1200Rectangle field = Rectangle.Inflate(layout.face, -paddingSize, -paddingSize); 1309Rectangle maxBounds = Rectangle.Inflate(layout.field, -textImageInset, -textImageInset);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
283layout.focus = Control.AutoSize ? Rectangle.Inflate(layout.checkBounds, -2, -2) : layout.field;
winforms\Managed\System\WinForms\ButtonRenderer.cs (4)
125contentBounds = Rectangle.Inflate(bounds, -3, -3); 175contentBounds = Rectangle.Inflate(bounds, -3, -3); 205contentBounds = Rectangle.Inflate(bounds, -3, -3); 246contentBounds = Rectangle.Inflate(bounds, -3, -3);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
944ControlPaint.DrawFocusRectangle(g, Rectangle.Inflate(valBounds, -1, -1), Color.Empty, SystemColors.Control);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2493Rectangle textBounds = Rectangle.Inflate(valBounds, -2, -2);
winforms\Managed\System\WinForms\DrawListViewColumnHeaderEventArgs.cs (1)
213Rectangle newBounds = Rectangle.Inflate(bounds, -padding, 0);
winforms\Managed\System\WinForms\DrawListViewSubItemEventArgs.cs (2)
185ControlPaint.DrawFocusRectangle(graphics, Rectangle.Inflate(bounds, -1, -1), item.ForeColor, item.BackColor); 219Rectangle newBounds = Rectangle.Inflate(bounds, -padding, 0);
winforms\Managed\System\WinForms\TabRenderer.cs (4)
72Rectangle contentBounds = Rectangle.Inflate(bounds, -3, -3); 112Rectangle contentBounds = Rectangle.Inflate(bounds, -3, -3); 134Rectangle contentBounds = Rectangle.Inflate(bounds, -3, -3); 168Rectangle contentBounds = Rectangle.Inflate(bounds, -3, -3);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerInterfaces.cs (1)
368this.clipRectangle = Rectangle.Inflate(clipRectangle, 1, 1);