31 writes to Padding
System.Windows.Forms (30)
winforms\Managed\System\WinForms\ComboBox.cs (1)
891
set { base.
Padding
= value; }
winforms\Managed\System\WinForms\Control.cs (1)
11524
Padding
= padding;
winforms\Managed\System\WinForms\DataGridView.cs (1)
3869
base.
Padding
= value;
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
852
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
113
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\LinkLabel.cs (1)
455
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\ListBox.cs (1)
1249
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\ListView.cs (1)
2126
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
719
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\NumericUpDown.cs (1)
271
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
484
base.
Padding
= value;
winforms\Managed\System\WinForms\ProgressBar.cs (1)
479
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
242
toolStrip.
Padding
= toolStripPadding;
1050
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\ScrollableControl.cs (5)
1566
owner.
Padding
= new Padding(value);
1597
owner.
Padding
= padding;
1627
owner.
Padding
= padding;
1657
owner.
Padding
= padding;
1687
owner.
Padding
= padding;
winforms\Managed\System\WinForms\SplitContainer.cs (1)
651
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\StatusStrip.cs (1)
149
base.
Padding
= value;
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
893
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (2)
484
this.
Padding
= DefaultPadding;
572
this.
Padding
= DefaultPadding;
winforms\Managed\System\WinForms\TrackBar.cs (1)
482
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\TreeView.cs (1)
969
set { base.
Padding
= value;}
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (1)
328
this.btnClose.
Padding
= new System.Windows.Forms.Padding(10, 0, 10, 0);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (2)
270
this.btnInstall.
Padding
= new System.Windows.Forms.Padding(10, 0, 10, 0);
280
this.btnCancel.
Padding
= new System.Windows.Forms.Padding(10, 0, 10, 0);
winforms\Managed\System\WinForms\WebBrowser.cs (1)
532
set { base.
Padding
= value;}
System.WorkflowServices (1)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
116
this.operationsPanel.
Padding
= new System.Windows.Forms.Padding(3);
78 references to Padding
System.Windows.Forms (78)
winforms\Managed\System\WinForms\Button.cs (1)
138
Size paddedSize = systemSize +
Padding
.Size;
winforms\Managed\System\WinForms\ButtonBase.cs (1)
962
return LayoutUtils.UnionSizes(prefSize +
Padding
.Size, MinimumSize);
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
1536
layout.client = LayoutUtils.DeflateRect(Control.ClientRectangle, Control.
Padding
);
1537
layout.padding = Control.
Padding
;
winforms\Managed\System\WinForms\CheckBox.cs (1)
382
return size +
Padding
.Size;
winforms\Managed\System\WinForms\ComboBox.cs (1)
890
get { return base.
Padding
; }
winforms\Managed\System\WinForms\ContainerControl.cs (1)
708
Size totalPadding = borderSize +
Padding
.Size;
winforms\Managed\System\WinForms\Control.cs (3)
4773
if (value !=
Padding
) {
11502
Padding padding =
Padding
;
12448
return !
Padding
.Equals(DefaultPadding);
winforms\Managed\System\WinForms\DataGridView.cs (1)
3865
return base.
Padding
;
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
851
get { return base.
Padding
; }
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
112
get { return base.
Padding
; }
winforms\Managed\System\WinForms\GroupBox.cs (2)
219
Padding padding =
Padding
;
694
Size totalPadding = borderSize + new Size(0,fontHeight) +
Padding
.Size;
winforms\Managed\System\WinForms\Label.cs (2)
1239
Size bordersAndPadding =
Padding
.Size;
1517
Rectangle face = LayoutUtils.DeflateRect(ClientRectangle,
Padding
);
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
517
containerPadding = control.
Padding
;
winforms\Managed\System\WinForms\LinkLabel.cs (1)
454
get {return base.
Padding
;}
winforms\Managed\System\WinForms\ListBox.cs (1)
1248
get { return base.
Padding
; }
winforms\Managed\System\WinForms\ListView.cs (1)
2125
get { return base.
Padding
; }
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
718
get { return base.
Padding
; }
winforms\Managed\System\WinForms\NumericUpDown.cs (1)
270
get { return base.
Padding
; }
winforms\Managed\System\WinForms\Panel.cs (1)
195
Size totalPadding = borderSize +
Padding
.Size;
winforms\Managed\System\WinForms\PictureBox.cs (2)
439
Rectangle result = LayoutUtils.DeflateRect(ClientRectangle,
Padding
);
1222
Size bordersAndPadding = SizeFromClientSize(Size.Empty) +
Padding
.Size;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
481
return base.
Padding
;
winforms\Managed\System\WinForms\ProgressBar.cs (1)
478
get { return base.
Padding
; }
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
240
Padding toolStripPadding = toolStrip.
Padding
;
1049
get { return base.
Padding
; }
winforms\Managed\System\WinForms\ScrollableControl.cs (20)
276
return LayoutUtils.DeflateRect(rect,
Padding
);
454
scrollMargin.Height +=
Padding
.Bottom;
455
scrollMargin.Width +=
Padding
.Right;
1547
if (owner.
Padding
.All == -1
1549
(owner.
Padding
.Left != -1
1550
|| owner.
Padding
.Top != -1
1551
|| owner.
Padding
.Right != -1
1552
|| owner.
Padding
.Bottom != -1)) {
1555
return owner.
Padding
.All;
1587
return owner.
Padding
.Bottom;
1595
Padding padding = owner.
Padding
;
1617
return owner.
Padding
.Left;
1625
Padding padding = owner.
Padding
;
1647
return owner.
Padding
.Right;
1655
Padding padding = owner.
Padding
;
1677
return owner.
Padding
.Top;
1685
Padding padding = owner.
Padding
;
1698
return this.owner.
Padding
.Equals(dpeOther.owner.
Padding
);
1736
this.owner.
Padding
.Scale(dx, dy);
winforms\Managed\System\WinForms\SplitContainer.cs (1)
650
get { return base.
Padding
; }
winforms\Managed\System\WinForms\StatusStrip.cs (1)
146
return base.
Padding
;
winforms\Managed\System\WinForms\TabPage.cs (1)
704
Rectangle inflateRect = LayoutUtils.InflateRect(DisplayRectangle,
Padding
);
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
892
get { return base.
Padding
; }
winforms\Managed\System\WinForms\ToolStrip.cs (5)
1523
toolStripOverflowButton.Size = toolStripOverflowButton.GetPreferredSize(this.DisplayRectangle.Size - this.
Padding
.Size);
2457
Padding padding =
Padding
;
2459
Padding newPadding =
Padding
;
2481
Size defaultSize = toolStrip.DefaultSize - toolStrip.
Padding
.Size;
3427
toolStripOverflowButton.Size = toolStripOverflowButton.GetPreferredSize(this.DisplayRectangle.Size - this.
Padding
.Size);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
726
return Screen.GetWorkingArea(this.Bounds).Size - this.
Padding
.Size;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (2)
142
rect = LayoutUtils.InflateRect(rect, new Padding(0, this.
Padding
.Top, 0, this.
Padding
.Bottom));
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1194
rect.X -= dropDownMenu.
Padding
.Left;
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
1056
index = (clientLocation.Y <= this.
Padding
.Left) ? 0 : index;
1060
index = (clientLocation.X <= this.
Padding
.Left) ? 0 : index;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (6)
945
displayRect.Width = ToolStripPanel.ParentInternal.DisplayRectangle.Width - (ToolStripPanel.Margin.Horizontal + ToolStripPanel.
Padding
.Horizontal) - Row.Margin.Horizontal;
976
dragBounds.Width += Row.Margin.Horizontal + ToolStripPanel.
Padding
.Horizontal +5;
977
dragBounds.X -= Row.Margin.Left + ToolStripPanel.
Padding
.Left +4;
1455
displayRect.Height = ToolStripPanel.ParentInternal.DisplayRectangle.Height - (ToolStripPanel.Margin.Vertical + ToolStripPanel.
Padding
.Vertical) - Row.Margin.Vertical;
1485
dragBounds.Height += Row.Margin.Vertical + ToolStripPanel.
Padding
.Vertical +5;
1486
dragBounds.Y -= Row.Margin.Top+ ToolStripPanel.
Padding
.Top +4;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
1283
bounds.X += dropDownMenu.
Padding
.Left -2;
1290
bounds.Width = dropDownMenu.Width - bounds.X - dropDownMenu.
Padding
.Right;
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
420
return new Size(parent.Width - (parent.
Padding
.Horizontal - dropDownMenu.ImageMargin.Width), WINBAR_SEPARATORTHICKNESS);
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (1)
402
toolStripPreferredSize = ToolStrip.GetPreferredSizeVertical(toolStrip, Size.Empty) - toolStrip.
Padding
.Size;
winforms\Managed\System\WinForms\TrackBar.cs (1)
481
get { return base.
Padding
; }
winforms\Managed\System\WinForms\TreeView.cs (1)
968
get { return base.
Padding
; }
winforms\Managed\System\WinForms\WebBrowser.cs (1)
531
get { return base.
Padding
; }