6 writes to Top
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (3)
125
DockPadding.
Top
= 0;
128
DockPadding.
Top
= s_resizeBarSize;
636
DockPadding.
Top
= s_resizeBarSize;
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdgesConverter.cs (1)
204
private void ResetTop() =>
Top
= 0;
System.Windows.Forms.Tests (2)
System\Windows\Forms\DockPaddingEdgesTests.cs (2)
129
padding.
Top
= value;
152
padding.
Top
= value;
63 references to Top
System.Windows.Forms (5)
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdgesConverter.cs (5)
189
Top
== dpeOther.
Top
&&
194
public override int GetHashCode() => HashCode.Combine(Left,
Top
, Right, Bottom);
211
public override string ToString() => $"{{Left={Left},Top={
Top
},Right={Right},Bottom={Bottom}}}";
213
object ICloneable.Clone() => new DockPaddingEdges(Left, Right,
Top
, Bottom);
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
69
Assert.Equal(0, control.DockPadding.
Top
);
System.Windows.Forms.Tests (57)
System\Windows\Forms\ContainerControlTests.cs (1)
70
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
83
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
66
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\DockPaddingEdgesConverterTests.cs (1)
19
Assert.Equal(nameof(ScrollableControl.DockPaddingEdges.
Top
), properties[2].Name);
System\Windows\Forms\DockPaddingEdgesTests.cs (19)
29
Assert.Equal(expectedTop, padding.
Top
);
46
Assert.Equal(expectedValue, padding.
Top
);
69
Assert.Equal(value, padding.
Top
);
89
Assert.Equal(2, padding.
Top
);
112
Assert.Equal(2, padding.
Top
);
132
Assert.Equal(expectedTop, padding.
Top
);
155
Assert.Equal(value, padding.
Top
);
175
Assert.Equal(2, padding.
Top
);
198
Assert.Equal(2, padding.
Top
);
218
Assert.Equal(2, padding.
Top
);
241
Assert.Equal(2, padding.
Top
);
335
Assert.Equal(2, padding.
Top
);
352
Assert.Equal(2, padding.
Top
);
396
Assert.Equal(0, padding.
Top
);
417
Assert.Equal(2, padding.
Top
);
431
PropertyDescriptor property = properties[nameof(ScrollableControl.DockPaddingEdges.
Top
)];
438
Assert.Equal(0, padding.
Top
);
459
Assert.Equal(2, padding.
Top
);
480
Assert.Equal(2, padding.
Top
);
System\Windows\Forms\DomainUpDownTests.cs (1)
89
_sub.DockPadding.
Top
.Should().Be(0);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
63
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\FormTests.cs (1)
85
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\MenuStripTests.cs (1)
70
Assert.Equal(2, control.DockPadding.
Top
);
System\Windows\Forms\PanelTests.cs (1)
64
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\PropertyGridTests.cs (1)
92
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\ScrollableControlTests.cs (16)
63
Assert.Equal(0, control.DockPadding.
Top
);
2063
Assert.Equal(0, control.DockPadding.
Top
);
2069
Assert.Equal(0, control.DockPadding.
Top
);
2081
Assert.Equal(0, control.DockPadding.
Top
);
2096
Assert.Equal(2, control.DockPadding.
Top
);
2110
Assert.Equal(2, control.DockPadding.
Top
);
2115
Assert.Equal(2, control.DockPadding.
Top
);
2126
Assert.Equal(0, control.DockPadding.
Top
);
2132
Assert.Equal(0, control.DockPadding.
Top
);
2144
Assert.Equal(0, control.DockPadding.
Top
);
2159
Assert.Equal(2, control.DockPadding.
Top
);
2173
Assert.Equal(2, control.DockPadding.
Top
);
2178
Assert.Equal(2, control.DockPadding.
Top
);
2193
Assert.Equal(2, control.DockPadding.
Top
);
2199
Assert.Equal(40, control.DockPadding.
Top
);
2211
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\SplitterPanelTests.cs (1)
60
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\StatusStripTests.cs (1)
70
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
69
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\TabPageTests.cs (2)
69
Assert.Equal(0, control.DockPadding.
Top
);
178
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
66
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
74
Assert.Equal(2, control.DockPadding.
Top
);
System\Windows\Forms\ToolStripPanelTests.cs (1)
66
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\ToolStripTests.cs (2)
85
Assert.Equal(0, control.DockPadding.
Top
);
239
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\UpDownBaseTests.cs (1)
76
Assert.Equal(0, control.DockPadding.
Top
);
System\Windows\Forms\UserControlTests.cs (1)
70
Assert.Equal(0, control.DockPadding.
Top
);