187 writes to Padding
Accessibility_Core_App (27)
CommonControl1.Designer.cs (8)
108this.groupBox1.Padding = new System.Windows.Forms.Padding(7, 6, 7, 6); 236this.groupBox2.Padding = new System.Windows.Forms.Padding(7, 6, 7, 6); 310this.groupBox3.Padding = new System.Windows.Forms.Padding(7, 6, 7, 6); 374this.groupBox4.Padding = new System.Windows.Forms.Padding(7, 6, 7, 6); 421this.groupBox5.Padding = new System.Windows.Forms.Padding(7, 6, 7, 6); 566this.groupBox6.Padding = new System.Windows.Forms.Padding(7, 6, 7, 6); 604this.groupBox7.Padding = new System.Windows.Forms.Padding(7, 6, 7, 6); 636this.groupBox8.Padding = new System.Windows.Forms.Padding(7, 6, 7, 6);
ContainerControls.Designer.cs (14)
200this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 223this.groupBox2.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 246this.groupBox3.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 269this.groupBox4.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 434this.tabPage9.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 456this.tabPage10.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 480this.tabPage11.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 502this.tabPage12.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 598this.tabPage1.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 610this.tabPage2.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 664this.tabPage3.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 686this.tabPage4.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 770this.tabPage5.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 782this.tabPage6.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
ContainerControls2.Designer.cs (3)
294this.groupBox5.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 374this.tabPage7.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 385this.tabPage8.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
Menu_Toolbars_controls.Designer.cs (1)
113menuStrip1.Padding = new Padding(8, 3, 0, 3);
ToolStripContainer.Designer.cs (1)
138this.toolStrip1.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0);
DesignSurface (7)
MainForm.Designer.cs (7)
104this.tabPage1.Padding = new System.Windows.Forms.Padding(3); 114this.tabPage2.Padding = new System.Windows.Forms.Padding(3); 124this.tabPage3.Padding = new System.Windows.Forms.Padding(3); 134this.tabPage4.Padding = new System.Windows.Forms.Padding(3); 144this.tabPage5.Padding = new System.Windows.Forms.Padding(3); 154this.tabPage6.Padding = new System.Windows.Forms.Padding(3); 169this.menuStrip1.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2);
PresentationUI (23)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (3)
115this._okButton.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); 154this._summaryTab.Padding = new System.Windows.Forms.Padding(12); 737this.Padding = new System.Windows.Forms.Padding(3);
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (2)
72_addButton.Padding = new System.Windows.Forms.Padding(20, 0, 20, 0); 82_cancelButton.Padding = new System.Windows.Forms.Padding(20, 0, 20, 0);
MS\Internal\Documents\RMPermissions.Designer.cs (1)
68this.mainContentFlowPanel.Padding = new System.Windows.Forms.Padding(5);
MS\Internal\Documents\RMPublishingDialog.Designer.cs (5)
86this.flowLayoutPanelMain.Padding = new System.Windows.Forms.Padding(8); 134this.flowLayoutPanelUnrestricted.Padding = new System.Windows.Forms.Padding(5, 18, 5, 5); 146this.flowLayoutPanelPermissions.Padding = new System.Windows.Forms.Padding(5, 18, 5, 5); 156this.flowLayoutPanelTemplate.Padding = new System.Windows.Forms.Padding(5, 18, 5, 5); 173this.labelSelectTemplate.Padding = new System.Windows.Forms.Padding(3);
MS\Internal\Documents\SignatureSummaryDialog.cs (6)
240nameHeader.Padding = columnPadding; 249intentHeader.Padding = columnPadding; 258locationHeader.Padding = columnPadding; 267signByHeader.Padding = columnPadding; 284statusHeader.Padding = columnPadding; 293intentHeader.Padding = columnPadding;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (2)
81_flowpanelMiddleControls.Padding = new System.Windows.Forms.Padding(0, 5, 0, 0); 94_flowpanelBottomControls.Padding = new System.Windows.Forms.Padding(0, 5, 0, 0);
MS\Internal\Documents\SigningDialog.Designer.cs (4)
189_buttonflowLayoutPanel.Padding = new System.Windows.Forms.Padding(5, 5, 0, 5); 202_cancelButton.Padding = new System.Windows.Forms.Padding(15, 0, 15, 0); 216_signButton.Padding = new System.Windows.Forms.Padding(15, 0, 15, 0); 230_signSaveAsButton.Padding = new System.Windows.Forms.Padding(15, 0, 15, 0);
System.Windows.Forms (27)
System\Windows\Forms\Control.cs (1)
9742Padding = padding;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
733set => base.Padding = value;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3035set => base.Padding = value;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
721set => base.Padding = value;
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
338set => base.Padding = value;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1208set => base.Padding = value;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2116set => base.Padding = value;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
561set => base.Padding = value;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
364set => base.Padding = value;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
203_toolStrip.Padding = toolStripPadding; 812set => base.Padding = value;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
763set => base.Padding = value;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
130set => base.Padding = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
431Padding = DefaultPadding; 533Padding = DefaultPadding;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
407set => base.Padding = value;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
942set => base.Padding = value;
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
66set => base.Padding = value;
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
227set => base.Padding = value;
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
498set => base.Padding = value;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
506set => base.Padding = value;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
270set => base.Padding = value;
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdgesConverter.cs (5)
88_owner.Padding = new Padding(value); 111_owner.Padding = padding; 134_owner.Padding = padding; 157_owner.Padding = padding; 180_owner.Padding = padding;
System.Windows.Forms.Design (30)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (3)
187_buttonOK.Padding = new Padding(10, 0, 10, 0); 197_buttonSave.Padding = new Padding(10, 0, 10, 0); 207_groupBoxMode.Padding = new Padding(0);
System\ComponentModel\Design\DesignerActionUI.cs (1)
700Padding = Padding.Empty,
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
63panel.Padding = new Padding(0);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (5)
50_relatedControl.Padding = new Padding(0, 0, 0, DefaultBounds); 53_relatedControl.Padding = new Padding(0, 0, DefaultBounds, 0); 56_relatedControl.Padding = new Padding(DefaultBounds, 0, 0, 0); 59_relatedControl.Padding = new Padding(0, DefaultBounds, 0, 0); 93_relatedControl.Padding = new Padding(0);
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (1)
159Padding = new Padding(1, 1, 1, 1);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (5)
495_addButton.Padding = new Padding(10, 0, 10, 0); 503_deleteButton.Padding = new Padding(10, 0, 10, 0); 602_cancelButton.Padding = new Padding(10, 0, 10, 0); 610_okButton.Padding = new Padding(10, 0, 10, 0); 624Padding = new Padding(12);
System\Windows\Forms\Design\FormatStringDialog.cs (1)
217Padding = new Padding(0);
System\Windows\Forms\Design\MaskDesignerDialog.cs (2)
192_btnOK.Padding = new Padding(10, 0, 10, 0); 201_btnCancel.Padding = new Padding(10, 0, 10, 0);
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDown.cs (1)
53Padding = new Padding(16);
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
218Padding = new Padding(4);
System\Windows\Forms\Design\StyleEditorForm.cs (6)
214_addButton.Padding = new Padding(10, 0, 10, 0); 222_removeButton.Padding = new Padding(10, 0, 10, 0); 230_insertButton.Padding = new Padding(10, 0, 10, 0); 249_okButton.Padding = new Padding(10, 0, 10, 0); 258_cancelButton.Padding = new Padding(10, 0, 10, 0); 376_sizeTypeGroupBox.Padding = new Padding(0);
System\Windows\Forms\Design\TabControlDesigner.cs (1)
271page.Padding = new Padding(3);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
264Control.Padding = new Padding(0, 0, 25, 25); 372Control.Padding = new Padding(0);
System.Windows.Forms.Tests (63)
System\Windows\Forms\ButtonTests.cs (12)
1252Padding = new Padding(1, 2, 3, 4) 1303Padding = new Padding(1, 2, 3, 4) 1335Padding = new Padding(1, 2, 3, 4), 1359Padding = new Padding(1, 2, 3, 4), 1519Padding = new Padding(1, 2, 3, 4) 1599Padding = new Padding(1, 2, 3, 4) 1631Padding = new Padding(1, 2, 3, 4), 1655Padding = new Padding(1, 2, 3, 4), 1679Padding = new Padding(1, 2, 3, 4), 1703Padding = new Padding(1, 2, 3, 4), 1727Padding = new Padding(1, 2, 3, 4), 1751Padding = new Padding(1, 2, 3, 4),
System\Windows\Forms\ControlTests.Properties.cs (15)
9423control.Padding = value; 9429control.Padding = value; 9463control.Padding = value; 9471control.Padding = value; 9515control.Padding = value; 9524control.Padding = value; 9575control.Padding = value; 9589control.Padding = value; 9620control.Padding = padding1; 9625control.Padding = padding1; 9631control.Padding = padding2; 9637control.Padding = padding1; 9649control.Padding = new Padding(1, 2, 3, 4); 9665control.Padding = new Padding(1, 2, 3, 4); 9854Padding = new Padding(1, 2, 3, 4)
System\Windows\Forms\DockPaddingEdgesTests.cs (22)
24Padding = new Padding(left, top, right, bottom) 62Padding = new Padding(1, 2, 3, 4) 83Padding = new Padding(1, 2, 3, 4) 105Padding = new Padding(1, 2, 3, 4) 126Padding = new Padding(1, 2, 3, 4) 148Padding = new Padding(1, 2, 3, 4) 169Padding = new Padding(1, 2, 3, 4) 191Padding = new Padding(1, 2, 3, 4) 212Padding = new Padding(1, 2, 3, 4) 234Padding = new Padding(1, 2, 3, 4) 252Padding = new Padding(left, top, right, bottom) 304Padding = new Padding(1, 2, 3, 4) 316Padding = new Padding(1, 2, 3, 4) 329Padding = new Padding(1, 2, 3, 4) 345Padding = new Padding(1, 2, 3, 4) 362Padding = new Padding(1, 2, 3, 4) 373Padding = new Padding(1, 2, 3, 4) 385Padding = new Padding(1, 2, 3, 4) 406Padding = new Padding(1, 2, 3, 4) 427Padding = new Padding(1, 2, 3, 4) 448Padding = new Padding(1, 2, 3, 4) 469Padding = new Padding(1, 2, 3, 4)
System\Windows\Forms\GroupBoxTests.cs (1)
938Padding = new Padding(1, 2, 3, 4)
System\Windows\Forms\PanelTests.cs (1)
625Padding = new Padding(1, 2, 3, 4)
System\Windows\Forms\ScrollableControlTests.cs (12)
712Padding = new Padding(1, 2, 3, 4), 802control.Padding = value; 808control.Padding = value; 829control.Padding = padding1; 834control.Padding = padding1; 840control.Padding = padding2; 846control.Padding = padding1; 2092Padding = new Padding(1, 2, 3, 4) 2107Padding = new Padding(1, 2, 3, 4) 2155Padding = new Padding(1, 2, 3, 4) 2170Padding = new Padding(1, 2, 3, 4) 2190Padding = new Padding(1, 2, 3, 4)
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
257childControl.Padding = Convert.ToSystemWindowsFormsPadding((SW.Thickness)value);
WinFormsControlsTest (9)
ComboBoxesWithScrollBars.Designer.cs (4)
116this.changeHeightGroupBox1.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 203this.changeMaxDropDownItemsGroupBox2.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 257this.changeIntegralHeightGroupBox3.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); 304this.changeHeightsStyleGroupBox4.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
MainForm.Designer.cs (1)
53this.Padding = new System.Windows.Forms.Padding(8);
MenuStripAndCheckedListBox.Designer.cs (1)
75this.menuStrip1.Padding = new System.Windows.Forms.Padding(12, 4, 0, 4);
ScrollableControls.Designer.cs (2)
326tabPage1.Padding = new Padding(3); 345tabPage2.Padding = new Padding(3);
TrackBars.Designer.cs (1)
101this.gbOrientation.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
181 references to Padding
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
500int totalPadding = button.Padding.Horizontal + button.Margin.Horizontal;
System.Windows.Forms (77)
System\Windows\Forms\Control.cs (3)
3753if (value != Padding) 9722Padding padding = Padding; 10643return !Padding.Equals(DefaultPadding);
System\Windows\Forms\Controls\Buttons\Button.cs (1)
106Size paddedSize = _systemSize + Padding.Size;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
961return LayoutUtils.UnionSizes(preferedSize + Padding.Size, MinimumSize);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
592Client = LayoutUtils.DeflateRect(Control.ClientRectangle, Control.Padding), 593Padding = Control.Padding,
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
289return size + Padding.Size;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
732get => base.Padding;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3034get => base.Padding;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
720get => base.Padding;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
162Padding padding = Padding; 603Size totalPadding = borderSize + new Size(0, _fontHeight) + Padding.Size;
System\Windows\Forms\Controls\Labels\Label.cs (2)
1001Size bordersAndPadding = Padding.Size; 1254Rectangle face = LayoutUtils.DeflateRect(ClientRectangle, Padding);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
337get => base.Padding;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1207get => base.Padding;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2115get => base.Padding;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
560get => base.Padding;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
344Rectangle result = LayoutUtils.DeflateRect(ClientRectangle, Padding); 1040Size bordersAndPadding = SizeFromClientSize(Size.Empty) + Padding.Size;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
363get => base.Padding;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
201Padding toolStripPadding = _toolStrip.Padding; 811get => base.Padding;
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
611Rectangle inflateRect = LayoutUtils.InflateRect(DisplayRectangle, Padding);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
762get => base.Padding;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
129get => base.Padding;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (5)
1363_toolStripOverflowButton.Size = _toolStripOverflowButton.GetPreferredSize(DisplayRectangle.Size - Padding.Size); 2248Padding padding = Padding; 2250Padding newPadding = Padding; 2273Size defaultSize = toolStrip.DefaultSize - toolStrip.Padding.Size; 3259_toolStripOverflowButton!.Size = _toolStripOverflowButton.GetPreferredSize(DisplayRectangle.Size - Padding.Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
552return Screen.GetWorkingArea(Bounds).Size - Padding.Size;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
99rect = LayoutUtils.InflateRect(rect, new Padding(0, Padding.Top, 0, Padding.Bottom));
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
1075rect.X -= dropDownMenu.Padding.Left;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
861index = (clientLocation.Y <= Padding.Left) ? 0 : index; 867index = (clientLocation.X <= Padding.Left) ? 0 : index;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (3)
35displayRect.Width = ToolStripPanel.ParentInternal.DisplayRectangle.Width - (ToolStripPanel.Margin.Horizontal + ToolStripPanel.Padding.Horizontal) - Row.Margin.Horizontal; 70dragBounds.Width += Row.Margin.Horizontal + ToolStripPanel.Padding.Horizontal + 5; 71dragBounds.X -= Row.Margin.Left + ToolStripPanel.Padding.Left + 4;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (3)
36displayRect.Height = ToolStripPanel.ParentInternal.DisplayRectangle.Height - (ToolStripPanel.Margin.Vertical + ToolStripPanel.Padding.Vertical) - Row.Margin.Vertical; 71dragBounds.Height += Row.Margin.Vertical + ToolStripPanel.Padding.Vertical + 5; 72dragBounds.Y -= Row.Margin.Top + ToolStripPanel.Padding.Top + 4;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
1477bounds.X += dropDownMenu.Padding.Left - 2; 1485bounds.Width = dropDownMenu.Width - bounds.X - dropDownMenu.Padding.Right;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
268return new Size(parent.Width - (parent.Padding.Horizontal - dropDownMenu.ImageMargin.Width), SeparatorThickness);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (1)
372toolStripPreferredSize = ToolStrip.GetPreferredSizeVertical(toolStrip) - toolStrip.Padding.Size;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
406get => base.Padding;
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
941get => base.Padding;
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
65get => base.Padding;
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
226get => base.Padding;
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
497get => base.Padding;
System\Windows\Forms\Layout\CommonProperties.cs (1)
245/// responsibility to do layout. See <see cref="Control.Padding"/> for details.
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
686Size totalPadding = borderSize + Padding.Size;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
505get => base.Padding;
System\Windows\Forms\Layout\DefaultLayout.cs (1)
669containerPadding = control.Padding;
System\Windows\Forms\Panels\Panel.cs (1)
156Size totalPadding = borderSize + Padding.Size;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
269get => base.Padding;
System\Windows\Forms\Scrolling\ScrollableControl.cs (3)
210return LayoutUtils.DeflateRect(rect, Padding); 343_scrollMargin.Height += Padding.Bottom; 344_scrollMargin.Width += Padding.Right;
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdgesConverter.cs (15)
64if (_owner.Padding.All == -1 66(_owner.Padding.Left != -1 67|| _owner.Padding.Top != -1 68|| _owner.Padding.Right != -1 69|| _owner.Padding.Bottom != -1)) 74return _owner.Padding.All; 100get => _owner is null ? _bottom : _owner.Padding.Bottom; 109Padding padding = _owner.Padding; 123get => _owner is null ? _left : _owner.Padding.Left; 132Padding padding = _owner.Padding; 146get => _owner is null ? _right : _owner.Padding.Right; 155Padding padding = _owner.Padding; 169get => _owner is null ? _top : _owner.Padding.Top; 178Padding padding = _owner.Padding; 208_owner?.Padding.Scale(dx, dy);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
198if (Control.Padding == Padding.Empty && snapLines is not null)
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
323Padding = Control.Padding;
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
100Assert.Equal(Padding.Empty, control.Padding);
System.Windows.Forms.Tests (99)
System\Windows\Forms\AxHostTests.cs (2)
93Assert.Equal(Padding.Empty, control.Padding); 187Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\ButtonBaseTests.cs (1)
90Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\ButtonTests.cs (1)
93Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\CheckBoxTests.cs (1)
94Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\ContainerControlTests.cs (1)
98Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\ControlTests.cs (5)
76Assert.Equal(Padding.Empty, control.Padding); 165Assert.Equal(Padding.Empty, control.Padding); 261Assert.Equal(Padding.Empty, control.Padding); 357Assert.Equal(Padding.Empty, control.Padding); 453Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\ControlTests.Properties.cs (19)
9393Assert.Equal(expected, control.Padding); 9424Assert.Equal(expected, control.Padding); 9430Assert.Equal(expected, control.Padding); 9464Assert.Equal(expected, control.Padding); 9472Assert.Equal(expected, control.Padding); 9516Assert.Equal(expected, control.Padding); 9525Assert.Equal(expected, control.Padding); 9576Assert.Equal(expected, control.Padding); 9590Assert.Equal(expected, control.Padding); 9621Assert.Equal(padding1, control.Padding); 9626Assert.Equal(padding1, control.Padding); 9632Assert.Equal(padding2, control.Padding); 9638Assert.Equal(padding1, control.Padding); 9645PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.Padding)]; 9650Assert.Equal(new Padding(1, 2, 3, 4), control.Padding); 9654Assert.Equal(Padding.Empty, control.Padding); 9661PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(Control))[nameof(Control.Padding)]; 9666Assert.Equal(new Padding(1, 2, 3, 4), control.Padding); 9670Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
128Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
99Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\DockPaddingEdgesTests.cs (25)
49Assert.Equal(expectedPaddingAll, owner.Padding.All); 50Assert.Equal(expectedValue, owner.Padding.Left); 51Assert.Equal(expectedValue, owner.Padding.Top); 52Assert.Equal(expectedValue, owner.Padding.Right); 53Assert.Equal(expectedValue, owner.Padding.Bottom); 92Assert.Equal(-1, owner.Padding.All); 93Assert.Equal(expectedLeft, owner.Padding.Left); 94Assert.Equal(2, owner.Padding.Top); 95Assert.Equal(3, owner.Padding.Right); 96Assert.Equal(4, owner.Padding.Bottom); 135Assert.Equal(-1, owner.Padding.All); 136Assert.Equal(1, owner.Padding.Left); 137Assert.Equal(expectedTop, owner.Padding.Top); 138Assert.Equal(3, owner.Padding.Right); 139Assert.Equal(4, owner.Padding.Bottom); 178Assert.Equal(-1, owner.Padding.All); 179Assert.Equal(1, owner.Padding.Left); 180Assert.Equal(2, owner.Padding.Top); 181Assert.Equal(expectedRight, owner.Padding.Right); 182Assert.Equal(4, owner.Padding.Bottom); 221Assert.Equal(-1, owner.Padding.All); 222Assert.Equal(1, owner.Padding.Left); 223Assert.Equal(2, owner.Padding.Top); 224Assert.Equal(3, owner.Padding.Right); 225Assert.Equal(expectedBottom, owner.Padding.Bottom);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
92Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\FormTests.cs (1)
130Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\GroupBoxTests.cs (1)
80Assert.Equal(new Padding(3), control.Padding);
System\Windows\Forms\HScrollBarTests.cs (1)
90Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\LabelTests.cs (1)
85Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\ListControlTests.cs (1)
86Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\MdiClientTests.cs (1)
66Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\MenuStripTests.cs (1)
116Assert.Equal(new Padding(6, 2, 0, 2), control.Padding);
System\Windows\Forms\PanelTests.cs (1)
92Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\PictureBoxTests.cs (1)
87Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\RadioButtonTests.cs (1)
93Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\ScrollableControlTests.cs (17)
91Assert.Equal(Padding.Empty, control.Padding); 803Assert.Equal(expected, control.Padding); 809Assert.Equal(expected, control.Padding); 830Assert.Equal(padding1, control.Padding); 835Assert.Equal(padding1, control.Padding); 841Assert.Equal(padding2, control.Padding); 847Assert.Equal(padding1, control.Padding); 2072Assert.Equal(Padding.Empty, control.Padding); 2084Assert.Equal(Padding.Empty, control.Padding); 2099Assert.Equal(new Padding(1, 2, 3, 4), control.Padding); 2118Assert.Equal(new Padding(1, 2, 3, 4), control.Padding); 2135Assert.Equal(Padding.Empty, control.Padding); 2147Assert.Equal(Padding.Empty, control.Padding); 2162Assert.Equal(new Padding(1, 2, 3, 4), control.Padding); 2181Assert.Equal(new Padding(1, 2, 3, 4), control.Padding); 2202Assert.Equal(new Padding(10, 40, 30, 80), control.Padding); 2214Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\ScrollBarTests.cs (1)
80Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\SplitterPanelTests.cs (1)
82Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\SplitterTests.cs (1)
80Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
100Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\TabPageTests.cs (2)
97Assert.Equal(Padding.Empty, control.Padding); 206Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
94Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
124Assert.Equal(new Padding(1, 2, 1, 2), control.Padding);
System\Windows\Forms\ToolStripPanelTests.cs (1)
94Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\ToolStripTests.cs (2)
132Assert.Equal(new Padding(0, 0, 1, 0), control.Padding); 287Assert.Equal(new Padding(0, 0, 1, 0), control.Padding);
System\Windows\Forms\UpDownBaseTests.cs (1)
106Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\UserControlTests.cs (1)
98Assert.Equal(Padding.Empty, control.Padding);
System\Windows\Forms\VScrollBarTests.cs (1)
89Assert.Equal(Padding.Empty, control.Padding);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
971OnPropertyChanged("Padding", this.Padding);