291 references to Top
Accessibility_Core_App (1)
ToolStripContainer.Designer.cs (1)
272
this.statusStrip1.Dock = System.Windows.Forms.DockStyle.
Top
;
DesignSurface (2)
MainForm.MyUserControl.cs (2)
25
Dock = DockStyle.
Top
,
32
Dock = DockStyle.
Top
,
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
138
_columnHeaderPanel.Dock = System.Windows.Forms.DockStyle.
Top
;
System.Windows.Forms (18)
System\Windows\Forms\ActiveX\AxHost.cs (1)
169
Debug.Assert((int)DockStyle.
Top
== NativeMethods.ActiveX.ALIGN_TOP, "align value mismatch");
System\Windows\Forms\Controls\Splitter\Splitter.cs (10)
103
DockStyle.
Top
or DockStyle.Bottom => Cursors.HSplit,
243
if (value is not (DockStyle.
Top
or DockStyle.Bottom or DockStyle.Left or DockStyle.Right))
253
case DockStyle.
Top
:
402
case DockStyle.
Top
:
562
case DockStyle.
Top
:
613
DockStyle.
Top
or DockStyle.Bottom => r.Height,
635
case DockStyle.
Top
:
661
case DockStyle.
Top
:
731
case DockStyle.
Top
:
784
case DockStyle.
Top
:
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
558
protected virtual DockStyle DefaultDock => DockStyle.
Top
;
642
[DefaultValue(DockStyle.
Top
)]
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
35
_topPanel.Dock = DockStyle.
Top
;
System\Windows\Forms\Layout\DefaultLayout.cs (2)
398
case DockStyle.
Top
:
493
if (dockStyle is DockStyle.
Top
or DockStyle.Bottom)
System\Windows\Forms\Layout\TableLayout.cs (1)
697
if (tlp.Dock is DockStyle.
Top
or DockStyle.Bottom or DockStyle.Fill)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
420
case DockStyle.
Top
:
System.Windows.Forms.Design (15)
System\ComponentModel\Design\DesignerActionPanel.cs (2)
302
edgeToDock = DockStyle.
Top
;
338
edgeToDock = DockStyle.
Top
;
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
49
case DockStyle.
Top
:
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (2)
106
case DockStyle.
Top
:
155
case DockStyle.
Top
:
System\Windows\Forms\Design\ControlDesigner.cs (1)
250
case DockStyle.
Top
:
System\Windows\Forms\Design\DesignBindingPicker.cs (4)
144
Dock = DockStyle.
Top
184
Dock = DockStyle.
Top
271
Dock = DockStyle.
Top
316
Dock = DockStyle.
Top
System\Windows\Forms\Design\DockEditor.DockUI.cs (3)
78
Dock = DockStyle.
Top
,
134
return DockStyle.
Top
;
159
case DockStyle.
Top
:
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
383
Dock = DockStyle.
Top
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
262
if (_containerSelectorGlyph is not null && Control.Dock == DockStyle.
Top
)
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\DockEditorTests.cs (1)
24
yield return new object[] { DockStyle.
Top
};
System\Windows\Forms\Design\ListBoxDesignerTests.cs (1)
32
new object[] { DockStyle.
Top
, true }
System.Windows.Forms.Tests (248)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (12)
191
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalSize, canOverflow };
260
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalSize, canOverflow };
296
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
319
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
502
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalSize, canOverflow };
738
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
769
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowGripSize };
770
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
808
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowGripSize };
809
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
850
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowGripSize };
851
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (12)
171
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalSize, canOverflow };
240
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalSize, canOverflow };
276
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
299
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
482
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalSize, canOverflow };
718
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
749
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowGripSize };
750
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
788
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowGripSize };
789
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
830
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowGripSize };
831
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (12)
184
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalSize, canOverflow };
253
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalSize, canOverflow };
289
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
312
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
495
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalSize, canOverflow };
731
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
762
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowGripSize };
763
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
801
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowGripSize };
802
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
843
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowGripSize };
844
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, horizontalOverflowSize };
System\Windows\Forms\ControlTests.Properties.cs (21)
790
foreach (DockStyle dock in new DockStyle[] { DockStyle.Bottom, DockStyle.Fill, DockStyle.Left, DockStyle.Right, DockStyle.
Top
})
4150
Dock = DockStyle.
Top
4176
yield return new object[] { DockStyle.
Top
, 1 };
4231
yield return new object[] { DockStyle.
Top
, DockStyle.Bottom, 1 };
4238
yield return new object[] { DockStyle.
Top
, DockStyle.Fill, 1 };
4245
yield return new object[] { DockStyle.
Top
, DockStyle.Left, 1 };
4252
yield return new object[] { DockStyle.
Top
, DockStyle.None, 1 };
4259
yield return new object[] { DockStyle.
Top
, DockStyle.Right, 1 };
4261
yield return new object[] { DockStyle.Bottom, DockStyle.
Top
, 1 };
4262
yield return new object[] { DockStyle.Fill, DockStyle.
Top
, 1 };
4263
yield return new object[] { DockStyle.Left, DockStyle.
Top
, 1 };
4264
yield return new object[] { DockStyle.None, DockStyle.
Top
, 1 };
4265
yield return new object[] { DockStyle.Right, DockStyle.
Top
, 1 };
4266
yield return new object[] { DockStyle.
Top
, DockStyle.
Top
, 0 };
4397
control.Dock = DockStyle.
Top
;
4398
Assert.Equal(DockStyle.
Top
, control.Dock);
4402
control.Dock = DockStyle.
Top
;
4403
Assert.Equal(DockStyle.
Top
, control.Dock);
4413
control.Dock = DockStyle.
Top
;
4414
Assert.Equal(DockStyle.
Top
, control.Dock);
System\Windows\Forms\MdiControlStripTests.cs (2)
55
Assert.Equal(DockStyle.
Top
, mdiControlStrip.DefaultDock);
69
Assert.Equal(DockStyle.
Top
, mdiControlStrip.Dock);
System\Windows\Forms\MenuStripTests.cs (2)
53
Assert.Equal(DockStyle.
Top
, control.DefaultDock);
67
Assert.Equal(DockStyle.
Top
, control.Dock);
System\Windows\Forms\SplitterPanelTests.cs (6)
416
control.Dock = DockStyle.
Top
;
417
Assert.Equal(DockStyle.
Top
, control.Dock);
421
control.Dock = DockStyle.
Top
;
422
Assert.Equal(DockStyle.
Top
, control.Dock);
432
control.Dock = DockStyle.
Top
;
433
Assert.Equal(DockStyle.
Top
, control.Dock);
System\Windows\Forms\SplitterTests.cs (31)
374
yield return new object[] { DockStyle.
Top
, Cursors.HSplit };
395
[InlineData(DockStyle.
Top
)]
424
[InlineData(DockStyle.
Top
, 50, 1)]
457
[InlineData(DockStyle.
Top
)]
463
Dock = DockStyle.
Top
489
[InlineData(DockStyle.
Top
, 50, 0)]
495
Dock = DockStyle.
Top
,
525
yield return new object[] { DockStyle.
Top
, 1 };
578
yield return new object[] { DockStyle.
Top
, DockStyle.Bottom, 1 };
583
yield return new object[] { DockStyle.
Top
, DockStyle.Left, 1 };
588
yield return new object[] { DockStyle.
Top
, DockStyle.Right, 1 };
590
yield return new object[] { DockStyle.Bottom, DockStyle.
Top
, 1 };
591
yield return new object[] { DockStyle.Left, DockStyle.
Top
, 1 };
592
yield return new object[] { DockStyle.Right, DockStyle.
Top
, 1 };
593
yield return new object[] { DockStyle.
Top
, DockStyle.
Top
, 0 };
645
[InlineData(DockStyle.
Top
)]
701
control.Dock = DockStyle.
Top
;
702
Assert.Equal(DockStyle.
Top
, control.Dock);
706
control.Dock = DockStyle.
Top
;
707
Assert.Equal(DockStyle.
Top
, control.Dock);
717
control.Dock = DockStyle.
Top
;
718
Assert.Equal(DockStyle.
Top
, control.Dock);
1104
yield return new object[] { DockStyle.
Top
, -2 };
1105
yield return new object[] { DockStyle.
Top
, 1 };
1106
yield return new object[] { DockStyle.
Top
, 0 };
1107
yield return new object[] { DockStyle.
Top
, 25 };
1179
yield return new object[] { childDock, DockStyle.
Top
, -2 };
1180
yield return new object[] { childDock, DockStyle.
Top
, 1 };
1181
yield return new object[] { childDock, DockStyle.
Top
, 0 };
1182
yield return new object[] { childDock, DockStyle.
Top
, 25 };
System\Windows\Forms\StatusStripTests.cs (6)
268
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Top
, 1, Orientation.Horizontal, 1 };
269
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, 1, Orientation.Horizontal, 0 };
270
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, 1, Orientation.Horizontal, 1 };
271
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Top
, 1, Orientation.Horizontal, 1 };
272
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, 1, Orientation.Vertical, 0 };
348
foreach (DockStyle dock in new DockStyle[] { DockStyle.None, DockStyle.
Top
, DockStyle.Bottom })
System\Windows\Forms\TabPageTests.cs (7)
917
Dock = DockStyle.
Top
966
control.Dock = DockStyle.
Top
;
967
Assert.Equal(DockStyle.
Top
, control.Dock);
971
control.Dock = DockStyle.
Top
;
972
Assert.Equal(DockStyle.
Top
, control.Dock);
982
control.Dock = DockStyle.
Top
;
983
Assert.Equal(DockStyle.
Top
, control.Dock);
System\Windows\Forms\ToolStripContentPanelTests.cs (6)
870
control.Dock = DockStyle.
Top
;
871
Assert.Equal(DockStyle.
Top
, control.Dock);
875
control.Dock = DockStyle.
Top
;
876
Assert.Equal(DockStyle.
Top
, control.Dock);
886
control.Dock = DockStyle.
Top
;
887
Assert.Equal(DockStyle.
Top
, control.Dock);
System\Windows\Forms\ToolStripDropDownTests.cs (33)
1121
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1122
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1123
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1137
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1138
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1139
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1153
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1154
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1155
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1169
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1170
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1171
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1185
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1186
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1187
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1235
foreach (DockStyle parentDock in new object[] { DockStyle.None, DockStyle.Left, DockStyle.Right, DockStyle.
Top
, DockStyle.Bottom })
1246
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1247
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1248
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1262
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1263
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1264
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1278
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1279
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1280
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1294
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1295
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1296
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1310
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1311
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1312
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
4956
control.Dock = DockStyle.
Top
;
4958
control.Dock.Should().Be(DockStyle.
Top
);
System\Windows\Forms\ToolStripTests.cs (97)
57
Assert.Equal(DockStyle.
Top
, control.DefaultDock);
82
Assert.Equal(DockStyle.
Top
, control.Dock);
214
Assert.Equal(DockStyle.
Top
, control.DefaultDock);
236
Assert.Equal(DockStyle.
Top
, control.Dock);
750
yield return new object[] { AnchorStyles.Top | AnchorStyles.Left, AnchorStyles.Top | AnchorStyles.Left, DockStyle.
Top
};
1672
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1673
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1674
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1688
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1689
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1690
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1704
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1705
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1706
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1720
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1721
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1722
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1736
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1737
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1738
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1786
foreach (DockStyle parentDock in new object[] { DockStyle.None, DockStyle.Left, DockStyle.Right, DockStyle.
Top
, DockStyle.Bottom })
1797
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1798
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1799
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1813
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1814
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1815
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1829
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1830
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1831
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1845
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1846
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1847
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1861
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1862
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.No, ToolStripDropDownDirection.Right };
1863
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1922
foreach (DockStyle childDock in new object[] { DockStyle.None, DockStyle.Left, DockStyle.Right, DockStyle.
Top
, DockStyle.Bottom })
1933
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1934
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1935
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1949
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1950
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1951
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1965
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1966
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1967
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1981
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1982
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1983
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1997
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1998
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right };
1999
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
2026
foreach (DockStyle childDock in new object[] { DockStyle.None, DockStyle.Left, DockStyle.Right, DockStyle.
Top
, DockStyle.Bottom })
2037
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
2038
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
2039
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
2053
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
2054
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
2055
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
2069
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
2070
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
2071
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
2085
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
2086
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
2087
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
2101
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.Right };
2102
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right };
2103
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
2361
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Top
, 0, Orientation.Horizontal, 0 };
2362
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, 0, Orientation.Horizontal, 0 };
2363
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, 0, Orientation.Horizontal, 0 };
2364
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Top
, 0, Orientation.Horizontal, 0 };
2365
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, 0, Orientation.Vertical, 0 };
2444
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Top
, Orientation.Horizontal, 0, 0, 0 };
2445
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, Orientation.Horizontal, 0, 0, 0 };
2446
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, Orientation.Horizontal, 0, 0, 0 };
2447
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Top
, Orientation.Horizontal, 0, 0, 0 };
2448
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, Orientation.Vertical, 0, 0, 0 };
2550
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Top
, Orientation.Horizontal, 0 };
2551
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Top
, Orientation.Horizontal, 0 };
2552
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Top
, Orientation.Horizontal, 0 };
2553
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Top
, Orientation.Horizontal, 0 };
2554
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Top
, Orientation.Horizontal, 0 };
2641
control.Dock = DockStyle.
Top
;
2642
Assert.Equal(DockStyle.
Top
, control.Dock);
2646
control.Dock = DockStyle.
Top
;
2647
Assert.Equal(DockStyle.
Top
, control.Dock);
2657
control.Dock = DockStyle.
Top
;
2658
Assert.Equal(DockStyle.
Top
, control.Dock);
2869
foreach (DockStyle dock in new DockStyle[] { DockStyle.None, DockStyle.
Top
, DockStyle.Bottom })
2960
foreach (DockStyle dock in new DockStyle[] { DockStyle.None, DockStyle.
Top
, DockStyle.Bottom })
3024
foreach (DockStyle dock in new DockStyle[] { DockStyle.None, DockStyle.
Top
, DockStyle.Bottom })
3131
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 1 };
3132
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal, ToolStripGripDisplayStyle.Vertical, 1 };
3133
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal, ToolStripGripDisplayStyle.Vertical, 0 };
3134
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 1 };
3135
yield return new object[] { DockStyle.
Top
, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical, ToolStripGripDisplayStyle.Horizontal, 2 };
ToolStripContainerTests.cs (1)
32
_toolStripContainer.TopToolStripPanel.Dock.Should().Be(DockStyle.
Top
);
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
944
Dock = DockStyle.
Top
,
WinFormsControlsTest (3)
DockLayoutTests.Designer.cs (1)
65
this.button2.Dock = System.Windows.Forms.DockStyle.
Top
;
DragDrop.cs (1)
423
Dock = DockStyle.
Top
,
RichTextBoxes.Designer.cs (1)
40
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.
Top
;