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