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