267 references to Empty
System.Windows.Forms (60)
System\Windows\Forms\Control.cs (1)
1585
protected virtual Padding DefaultPadding => Padding.
Empty
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
2955
if (cellStyle is not null && cellStyle.Padding != Padding.
Empty
)
2959
else if (columnHeadersStyle!.Padding != Padding.
Empty
)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (3)
696
if (cellStyle.Padding != Padding.
Empty
)
910
Padding.
Empty
,
940
Padding.
Empty
,
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (1)
226
!defaultCellStyle.Padding.Equals(Padding.
Empty
));
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (6)
2247
if (cellStyle is not null && cellStyle.Padding != Padding.
Empty
)
2251
else if (rowStyle is not null && rowStyle.Padding != Padding.
Empty
)
2255
else if (DataGridView.RowsDefaultCellStyle.Padding != Padding.
Empty
&&
2256
(rowIndex % 2 == 0 || DataGridView.AlternatingRowsDefaultCellStyle.Padding == Padding.
Empty
))
2260
else if (rowIndex % 2 == 1 && DataGridView.AlternatingRowsDefaultCellStyle.Padding != Padding.
Empty
)
2264
else if (columnStyle is not null && columnStyle.Padding != Padding.
Empty
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (2)
438
if (dataGridViewCellStyle.Padding != Padding.
Empty
)
643
if (Padding != Padding.
Empty
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (4)
1119
if (cellStyle.Padding != Padding.
Empty
)
1395
Padding.
Empty
,
1444
Padding.
Empty
,
1491
Padding.
Empty
,
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (1)
312
!defaultCellStyle.Padding.Equals(Padding.
Empty
));
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (2)
225
!defaultCellStyle.Padding.Equals(Padding.
Empty
));
555
if (columnStyle is not null && columnStyle.Padding != Padding.
Empty
)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (5)
460
if (cellStyle is not null && cellStyle.Padding != Padding.
Empty
)
464
else if (columnHeadersStyle.Padding != Padding.
Empty
)
775
if (cellStyle.Padding != Padding.
Empty
)
777
if (cellStyle.Padding != Padding.
Empty
)
877
if (cellStyle.Padding != Padding.
Empty
)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1941
if (cellStyle.Padding != Padding.
Empty
)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
766
if (cellStyle.Padding != Padding.
Empty
)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (1)
288
!defaultCellStyle.Padding.Equals(Padding.
Empty
));
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
923
if (cellStyle.Padding != Padding.
Empty
)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (6)
773
if (cellStyle is not null && cellStyle.Padding != Padding.
Empty
)
777
else if (rowHeadersStyle is not null && rowHeadersStyle.Padding != Padding.
Empty
)
1018
if (rowStyle is not null && rowStyle.Padding != Padding.
Empty
)
1022
else if (rowsDefaultCellStyle.Padding != Padding.
Empty
&&
1023
(rowIndex % 2 == 0 || alternatingRowsDefaultCellStyle.Padding == Padding.
Empty
))
1027
else if (rowIndex % 2 == 1 && alternatingRowsDefaultCellStyle.Padding != Padding.
Empty
)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (4)
485
if (cellStyle is not null && cellStyle.Padding != Padding.
Empty
)
489
else if (rowHeadersStyle.Padding != Padding.
Empty
)
658
if (cellStyle.Padding != Padding.
Empty
)
742
if (cellStyle.Padding != Padding.
Empty
)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
691
if (cellStyle.Padding != Padding.
Empty
)
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (1)
281
if (cellStyle.Padding != Padding.
Empty
)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
556
protected override Padding DefaultMargin => Padding.
Empty
;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
672
protected virtual Padding DefaultPadding => Padding.
Empty
;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
218
protected internal override Padding DefaultMargin => Padding.
Empty
;
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
43
protected internal override Padding DefaultMargin => Padding.
Empty
;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
117
get { return Padding.
Empty
; }
122
get { return Padding.
Empty
; }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
106
Margin = Padding.
Empty
;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
158
get { return Padding.
Empty
; }
System\Windows\Forms\Controls\ToolStrips\ToolStripScrollButton.cs (2)
46
protected internal override Padding DefaultMargin => Padding.
Empty
;
48
protected override Padding DefaultPadding => Padding.
Empty
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
56
protected internal override Padding DefaultMargin => Padding.
Empty
;
System\Windows\Forms\Layout\ArrangedElement.cs (2)
47
get { return Padding.
Empty
; }
52
get { return Padding.
Empty
; }
System\Windows\Forms\Layout\DefaultLayout.cs (1)
674
containerPadding = CommonProperties.GetPadding(container, Padding.
Empty
);
System\Windows\Forms\MDI\MDIControlStrip.cs (2)
55
item.Padding = Padding.
Empty
;
69
_system.Padding = Padding.
Empty
;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
135
protected override Padding DefaultMargin => Padding.
Empty
;
System.Windows.Forms.Design (6)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
176
_byteViewer.Margin = Padding.
Empty
;
System\ComponentModel\Design\ByteViewer.cs (1)
463
Margin = Padding.
Empty
,
System\ComponentModel\Design\DesignerActionUI.cs (1)
700
Padding = Padding.
Empty
,
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
152
Margin = Padding.
Empty
,
System\Windows\Forms\Design\DesignerToolStripControlHost.cs (1)
24
Margin = Padding.
Empty
;
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
198
if (Control.Padding == Padding.
Empty
&& snapLines is not null)
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\ByteViewerTests.cs (2)
62
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
100
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\Design\DesignerToolStripControlHostTests.cs (1)
17
host.Margin.Should().Be(Padding.
Empty
);
System.Windows.Forms.Tests (196)
CheckedListBoxTests.cs (1)
182
yield return new object[] { new Padding(-1, -2, -3, -4), Padding.
Empty
, 1, 2 };
System\Windows\Forms\AxHostTests.cs (4)
64
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
93
Assert.Equal(Padding.
Empty
, control.Padding);
158
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
187
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ButtonBaseTests.cs (2)
55
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
90
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ButtonTests.cs (2)
57
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
93
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\CheckBoxTests.cs (2)
59
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
94
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ComboBoxTests.cs (2)
62
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
104
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ContainerControlTests.cs (2)
63
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
98
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ControlTests.cs (10)
50
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
76
Assert.Equal(Padding.
Empty
, control.Padding);
139
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
165
Assert.Equal(Padding.
Empty
, control.Padding);
235
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
261
Assert.Equal(Padding.
Empty
, control.Padding);
331
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
357
Assert.Equal(Padding.
Empty
, control.Padding);
427
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
453
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ControlTests.Properties.cs (9)
7675
yield return new object[] { new ZeroDefaultMarginControl(), Padding.
Empty
};
7692
protected override Padding DefaultMargin => Padding.
Empty
;
7700
yield return new object[] { new Padding(-1, -2, -3, -4), Padding.
Empty
};
9385
yield return new object[] { new Control(), Padding.
Empty
};
9406
yield return new object[] { new Padding(-1, -2, -3, -4), Padding.
Empty
, 1, 2 };
9486
yield return new object[] { false, new Padding(-1, -2, -3, -4), Padding.
Empty
, 1, 0, 2, 0 };
9490
yield return new object[] { true, new Padding(-1, -2, -3, -4), Padding.
Empty
, 1, 1, 2, 2 };
9654
Assert.Equal(Padding.
Empty
, control.Padding);
9670
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\DataGridViewCellStyleTests.cs (8)
29
Assert.Equal(Padding.
Empty
, style.Padding);
96
Assert.Equal(Padding.
Empty
, style.Padding);
482
yield return new object[] { Padding.
Empty
, Padding.
Empty
};
483
yield return new object[] { new Padding(-1), Padding.
Empty
};
484
yield return new object[] { new Padding(-2), Padding.
Empty
};
765
Assert.Equal(Padding.
Empty
, style.Padding);
832
Assert.Equal(Padding.
Empty
, style.Padding);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
61
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
95
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\DateTimePickerTests.cs (2)
65
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
95
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (2)
73
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
128
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (2)
59
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
99
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\DomainUpDownTests.cs (2)
83
_sub.DefaultPadding.Should().Be(Padding.
Empty
);
121
_sub.Padding.Should().Be(Padding.
Empty
);
System\Windows\Forms\FlowLayoutPanelTests.cs (2)
56
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
92
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\FormTests.cs (2)
72
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
130
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\HScrollBarTests.cs (4)
54
Assert.Equal(Padding.
Empty
, control.DefaultMargin);
57
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
85
Assert.Equal(Padding.
Empty
, control.Margin);
90
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\LabelTests.cs (2)
53
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
85
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\Layout\FlowLayoutTests.cs (16)
42
Margin = Padding.
Empty
,
52
Margin = Padding.
Empty
,
66
Margin = Padding.
Empty
,
71
Margin = Padding.
Empty
,
103
Margin = Padding.
Empty
,
113
Margin = Padding.
Empty
,
127
Margin = Padding.
Empty
,
132
Margin = Padding.
Empty
,
164
Margin = Padding.
Empty
,
174
Margin = Padding.
Empty
,
188
Margin = Padding.
Empty
,
193
Margin = Padding.
Empty
,
225
Margin = Padding.
Empty
,
235
Margin = Padding.
Empty
,
249
Margin = Padding.
Empty
,
254
Margin = Padding.
Empty
,
System\Windows\Forms\ListBoxTests.cs (2)
59
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
97
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ListControlTests.cs (2)
56
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
86
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ListViewTests.cs (2)
68
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
114
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\MdiClientTests.cs (1)
66
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\MdiControlStripTests.cs (2)
59
Assert.Equal(Padding.
Empty
, mdiControlStrip.DefaultMargin);
109
Assert.Equal(Padding.
Empty
, mdiControlStrip.Margin);
System\Windows\Forms\MenuStripTests.cs (2)
57
Assert.Equal(Padding.
Empty
, control.DefaultMargin);
107
Assert.Equal(Padding.
Empty
, control.Margin);
System\Windows\Forms\MonthCalendarTests.cs (2)
66
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
102
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\PaddingTests.cs (1)
66
Padding padding = Padding.
Empty
;
System\Windows\Forms\PanelTests.cs (2)
57
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
92
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\PictureBoxTests.cs (2)
56
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
87
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ProgressBarTests.cs (2)
52
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
79
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\PropertyGridTests.cs (2)
83
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
127
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\RadioButtonTests.cs (2)
58
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
93
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\RichTextBoxTests.cs (2)
67
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
102
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ScrollableControlTests.cs (7)
56
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
91
Assert.Equal(Padding.
Empty
, control.Padding);
2072
Assert.Equal(Padding.
Empty
, control.Padding);
2084
Assert.Equal(Padding.
Empty
, control.Padding);
2135
Assert.Equal(Padding.
Empty
, control.Padding);
2147
Assert.Equal(Padding.
Empty
, control.Padding);
2214
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ScrollBarTests.cs (4)
48
Assert.Equal(Padding.
Empty
, control.DefaultMargin);
51
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
75
Assert.Equal(Padding.
Empty
, control.Margin);
80
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\SplitterPanelTests.cs (2)
79
Assert.Equal(Padding.
Empty
, control.Margin);
82
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\SplitterTests.cs (2)
52
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
80
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\StatusStripTests.cs (3)
57
Assert.Equal(Padding.
Empty
, control.DefaultMargin);
107
Assert.Equal(Padding.
Empty
, control.Margin);
400
yield return new object[] { new Padding(-1, -2, -3, -4), Padding.
Empty
, 1, 2 };
System\Windows\Forms\TabControlTests.cs (1)
54
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
System\Windows\Forms\TableLayoutPanelTests.cs (2)
62
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
100
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\TabPageTests.cs (4)
62
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
97
Assert.Equal(Padding.
Empty
, control.Padding);
171
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
206
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ToolStripButtonTests.cs (12)
44
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
74
Assert.Equal(Padding.
Empty
, item.Padding);
125
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
155
Assert.Equal(Padding.
Empty
, item.Padding);
212
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
242
Assert.Equal(Padding.
Empty
, item.Padding);
302
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
332
Assert.Equal(Padding.
Empty
, item.Padding);
390
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
420
Assert.Equal(Padding.
Empty
, item.Padding);
488
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
518
Assert.Equal(Padding.
Empty
, item.Padding);
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
59
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
94
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ToolStripControlHostTests.cs (2)
74
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
103
Assert.Equal(Padding.
Empty
, item.Padding);
System\Windows\Forms\ToolStripDropDownItemTests.cs (8)
40
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
74
Assert.Equal(Padding.
Empty
, item.Padding);
129
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
163
Assert.Equal(Padding.
Empty
, item.Padding);
228
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
262
Assert.Equal(Padding.
Empty
, item.Padding);
328
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
370
Assert.Equal(Padding.
Empty
, item.Padding);
System\Windows\Forms\ToolStripDropDownTests.cs (2)
61
Assert.Equal(Padding.
Empty
, control.DefaultMargin);
114
Assert.Equal(Padding.
Empty
, control.Margin);
System\Windows\Forms\ToolStripItemTests.cs (12)
43
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
73
Assert.Equal(Padding.
Empty
, item.Padding);
128
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
158
Assert.Equal(Padding.
Empty
, item.Padding);
223
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
253
Assert.Equal(Padding.
Empty
, item.Padding);
6738
yield return new object[] { new Padding(-1, -2, -3, -4), Padding.
Empty
, 1, 2 };
6921
Assert.Equal(Padding.
Empty
, item.Padding);
6937
Assert.Equal(Padding.
Empty
, item.Padding);
14222
Assert.Equal(Padding.
Empty
, item.Padding);
14227
Assert.Equal(Padding.
Empty
, item.Padding);
14231
Assert.Equal(Padding.
Empty
, item.Padding);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
74
Assert.Equal(Padding.
Empty
, item.Margin);
System\Windows\Forms\ToolStripPanelTests.cs (4)
56
Assert.Equal(Padding.
Empty
, control.DefaultMargin);
59
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
91
Assert.Equal(Padding.
Empty
, control.Margin);
94
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\ToolStripSeparatorTests.cs (4)
40
Assert.Equal(Padding.
Empty
, item.DefaultMargin);
41
Assert.Equal(Padding.
Empty
, item.DefaultPadding);
65
Assert.Equal(Padding.
Empty
, item.Margin);
71
Assert.Equal(Padding.
Empty
, item.Padding);
System\Windows\Forms\ToolStripTests.cs (4)
61
Assert.Equal(Padding.
Empty
, control.DefaultMargin);
125
Assert.Equal(Padding.
Empty
, control.Margin);
218
Assert.Equal(Padding.
Empty
, control.DefaultMargin);
280
Assert.Equal(Padding.
Empty
, control.Margin);
System\Windows\Forms\TreeViewTests.cs (2)
54
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
93
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\UpDownBaseTests.cs (2)
70
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
106
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\UserControlTests.cs (2)
63
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
98
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\VScrollBarTests.cs (4)
53
Assert.Equal(Padding.
Empty
, control.DefaultMargin);
56
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
84
Assert.Equal(Padding.
Empty
, control.Margin);
89
Assert.Equal(Padding.
Empty
, control.Padding);
System\Windows\Forms\WebBrowserTests.cs (2)
51
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
76
Assert.Equal(Padding.
Empty
, control.Padding);
TextBoxTests.cs (2)
60
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
89
Assert.Equal(Padding.
Empty
, control.Padding);
TrackBarTests.cs (2)
53
Assert.Equal(Padding.
Empty
, control.DefaultPadding);
83
Assert.Equal(Padding.
Empty
, control.Padding);
System.Windows.Forms.TestUtilities (1)
CommonTestHelperEx.cs (1)
94
{ new Padding(-1, -2, -3, -4), Padding.
Empty
}
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
337
Child.Margin = SWF.Padding.
Empty
;