263 references to Left
System.Windows.Forms (27)
System\Windows\Forms\ActiveX\AxHost.cs (1)
171
Debug.Assert((int)DockStyle.
Left
== NativeMethods.ActiveX.ALIGN_LEFT, "align value mismatch");
System\Windows\Forms\Controls\Splitter\Splitter.cs (13)
58
Dock = DockStyle.
Left
;
104
DockStyle.
Left
or DockStyle.Right => Cursors.VSplit,
236
[DefaultValue(DockStyle.
Left
)]
243
if (value is not (DockStyle.Top or DockStyle.Bottom or DockStyle.
Left
or DockStyle.Right))
261
case DockStyle.
Left
:
281
return dock is DockStyle.
Left
or DockStyle.Right;
409
case DockStyle.
Left
:
578
case DockStyle.
Left
:
614
DockStyle.
Left
or DockStyle.Right => r.Width,
631
case DockStyle.
Left
:
657
case DockStyle.
Left
:
745
case DockStyle.
Left
:
790
case DockStyle.
Left
:
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (4)
580
DockStyle actualDock = (ParentInternal is not null) ? ParentInternal.Dock : DockStyle.
Left
;
582
if (DesignMode && actualDock == DockStyle.
Left
)
590
if (DesignMode && Dock == DockStyle.
Left
)
4526
if (newDock is DockStyle.
Left
or DockStyle.Right)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (3)
38
_leftPanel.Dock = DockStyle.
Left
;
367
RightToolStripPanel.Dock = DockStyle.
Left
;
373
LeftToolStripPanel.Dock = DockStyle.
Left
;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
142
if (value is DockStyle.
Left
or DockStyle.Right)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (1)
367
bool IsNotInToolStripPanelWithLeftDockstyle = !toolStrip.IsInToolStripPanel && dock == DockStyle.
Left
;
System\Windows\Forms\Layout\DefaultLayout.cs (2)
424
case DockStyle.
Left
:
498
if (dockStyle is DockStyle.
Left
or DockStyle.Right)
System\Windows\Forms\Layout\TableLayout.cs (1)
823
if (tlp.Dock is DockStyle.
Left
or DockStyle.Right or DockStyle.Fill)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
423
case DockStyle.
Left
:
System.Windows.Forms.Design (15)
System\ComponentModel\Design\DesignerActionPanel.cs (2)
326
edgeToDock = DockStyle.
Left
;
332
edgeToDock = DockStyle.
Left
;
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
52
case DockStyle.
Left
:
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (2)
124
case DockStyle.
Left
:
173
case DockStyle.
Left
:
System\Windows\Forms\Design\ControlDesigner.cs (3)
238
if (dock == DockStyle.
Left
)
244
dock = DockStyle.
Left
;
253
case DockStyle.
Left
:
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
175
Dock = DockStyle.
Left
,
300
Dock = DockStyle.
Left
,
System\Windows\Forms\Design\DockEditor.DockUI.cs (3)
67
Dock = DockStyle.
Left
,
126
return DockStyle.
Left
;
153
case DockStyle.
Left
:
System\Windows\Forms\Design\ListBoxDesigner.cs (2)
27
and not DockStyle.
Left
44
if (value is DockStyle.Fill or DockStyle.
Left
or DockStyle.Right)
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ListBoxDesignerTests.cs (1)
29
new object[] { DockStyle.
Left
, false },
System.Windows.Forms.Tests (217)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (12)
192
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalSize, canOverflow };
261
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalSize, canOverflow };
297
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
320
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
503
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalSize, canOverflow };
739
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
772
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowGripSize };
773
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
811
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowGripSize };
812
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
853
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowGripSize };
854
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (12)
172
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalSize, canOverflow };
241
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalSize, canOverflow };
277
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
300
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
483
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalSize, canOverflow };
719
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
752
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowGripSize };
753
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
791
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowGripSize };
792
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
833
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowGripSize };
834
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (12)
185
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalSize, canOverflow };
254
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalSize, canOverflow };
290
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
313
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
496
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalSize, canOverflow };
732
yield return new object[] { grip, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
765
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowGripSize };
766
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
804
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowGripSize };
805
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
846
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowGripSize };
847
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, verticalOverflowSize };
System\Windows\Forms\ControlTests.Properties.cs (16)
790
foreach (DockStyle dock in new DockStyle[] { DockStyle.Bottom, DockStyle.Fill, DockStyle.
Left
, DockStyle.Right, DockStyle.Top })
4173
yield return new object[] { DockStyle.
Left
, 1 };
4228
yield return new object[] { DockStyle.
Left
, DockStyle.Bottom, 1 };
4235
yield return new object[] { DockStyle.
Left
, DockStyle.Fill, 1 };
4240
yield return new object[] { DockStyle.Bottom, DockStyle.
Left
, 1 };
4241
yield return new object[] { DockStyle.Fill, DockStyle.
Left
, 1 };
4242
yield return new object[] { DockStyle.
Left
, DockStyle.
Left
, 0 };
4243
yield return new object[] { DockStyle.None, DockStyle.
Left
, 1 };
4244
yield return new object[] { DockStyle.Right, DockStyle.
Left
, 1 };
4245
yield return new object[] { DockStyle.Top, DockStyle.
Left
, 1 };
4249
yield return new object[] { DockStyle.
Left
, DockStyle.None, 1 };
4256
yield return new object[] { DockStyle.
Left
, DockStyle.Right, 1 };
4263
yield return new object[] { DockStyle.
Left
, DockStyle.Top, 1 };
4407
control.Dock = DockStyle.
Left
;
4408
Assert.Equal(DockStyle.
Left
, control.Dock);
System\Windows\Forms\SplitterPanelTests.cs (2)
426
control.Dock = DockStyle.
Left
;
427
Assert.Equal(DockStyle.
Left
, control.Dock);
System\Windows\Forms\SplitterTests.cs (32)
56
Assert.Equal(DockStyle.
Left
, control.Dock);
186
Assert.Equal(DockStyle.
Left
, control.Dock);
193
Assert.Equal(DockStyle.
Left
, control.Dock);
376
yield return new object[] { DockStyle.
Left
, Cursors.VSplit };
393
[InlineData(DockStyle.
Left
)]
422
[InlineData(DockStyle.
Left
, 40, 0)]
455
[InlineData(DockStyle.
Left
)]
487
[InlineData(DockStyle.
Left
, 40, 1)]
523
yield return new object[] { DockStyle.
Left
, 0 };
576
yield return new object[] { DockStyle.
Left
, DockStyle.Bottom, 1 };
580
yield return new object[] { DockStyle.Bottom, DockStyle.
Left
, 1 };
581
yield return new object[] { DockStyle.
Left
, DockStyle.
Left
, 0 };
582
yield return new object[] { DockStyle.Right, DockStyle.
Left
, 1 };
583
yield return new object[] { DockStyle.Top, DockStyle.
Left
, 1 };
586
yield return new object[] { DockStyle.
Left
, DockStyle.Right, 1 };
591
yield return new object[] { DockStyle.
Left
, DockStyle.Top, 1 };
643
[InlineData(DockStyle.
Left
)]
711
control.Dock = DockStyle.
Left
;
712
Assert.Equal(DockStyle.
Left
, control.Dock);
1099
yield return new object[] { DockStyle.
Left
, -2 };
1100
yield return new object[] { DockStyle.
Left
, 1 };
1101
yield return new object[] { DockStyle.
Left
, 0 };
1102
yield return new object[] { DockStyle.
Left
, 25 };
1174
yield return new object[] { childDock, DockStyle.
Left
, -2 };
1175
yield return new object[] { childDock, DockStyle.
Left
, 1 };
1176
yield return new object[] { childDock, DockStyle.
Left
, 0 };
1177
yield return new object[] { childDock, DockStyle.
Left
, 25 };
1253
Dock = DockStyle.
Left
,
1372
Dock = DockStyle.
Left
,
2020
Dock = DockStyle.
Left
,
2121
Dock = DockStyle.
Left
,
System\Windows\Forms\StatusStripTests.cs (6)
250
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Left
, 1, Orientation.Vertical, 1 };
251
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, 1, Orientation.Horizontal, 0 };
252
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, 1, Orientation.Vertical, 1 };
253
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Left
, 1, Orientation.Vertical, 1 };
254
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, 1, Orientation.Vertical, 0 };
357
foreach (DockStyle dock in new DockStyle[] { DockStyle.Right, DockStyle.
Left
})
System\Windows\Forms\TabPageTests.cs (2)
976
control.Dock = DockStyle.
Left
;
977
Assert.Equal(DockStyle.
Left
, control.Dock);
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
880
control.Dock = DockStyle.
Left
;
881
Assert.Equal(DockStyle.
Left
, control.Dock);
System\Windows\Forms\ToolStripDropDownTests.cs (33)
1115
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1116
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1117
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1134
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1135
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1136
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1150
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1151
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1152
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1166
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1167
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1168
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1182
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1183
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1184
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1235
foreach (DockStyle parentDock in new object[] { DockStyle.None, DockStyle.
Left
, DockStyle.Right, DockStyle.Top, DockStyle.Bottom })
1240
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1241
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1242
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1259
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1260
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1261
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1275
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1276
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1277
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1291
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1292
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1293
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1307
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1308
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1309
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
4947
control.Dock = DockStyle.
Left
;
4949
control.Dock.Should().Be(DockStyle.
Left
);
System\Windows\Forms\ToolStripTests.cs (87)
1666
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1667
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1668
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1685
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1686
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1687
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1701
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1702
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1703
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1717
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1718
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1719
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1733
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1734
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1735
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1786
foreach (DockStyle parentDock in new object[] { DockStyle.None, DockStyle.
Left
, DockStyle.Right, DockStyle.Top, DockStyle.Bottom })
1791
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1792
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1793
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1810
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1811
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1812
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1826
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1827
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1828
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1842
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1843
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1844
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1858
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1859
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.No, ToolStripDropDownDirection.Right };
1860
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1922
foreach (DockStyle childDock in new object[] { DockStyle.None, DockStyle.
Left
, DockStyle.Right, DockStyle.Top, DockStyle.Bottom })
1927
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1928
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1929
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1946
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1947
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1948
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1962
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1963
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right };
1964
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1978
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1979
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1980
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1994
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1995
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right };
1996
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
2026
foreach (DockStyle childDock in new object[] { DockStyle.None, DockStyle.
Left
, DockStyle.Right, DockStyle.Top, DockStyle.Bottom })
2031
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
2032
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
2033
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
2050
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
2051
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
2052
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
2066
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.Right };
2067
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right };
2068
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
2082
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
2083
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
2084
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
2098
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.Right };
2099
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Right };
2100
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
2343
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Left
, 1, Orientation.Vertical, 1 };
2344
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, 1, Orientation.Horizontal, 0 };
2345
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, 1, Orientation.Vertical, 1 };
2346
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Left
, 1, Orientation.Vertical, 1 };
2347
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, 1, Orientation.Vertical, 0 };
2426
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Left
, Orientation.Vertical, 0, 1, 1 };
2427
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, Orientation.Horizontal, 1, 0, 1 };
2428
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, Orientation.Vertical, 0, 1, 1 };
2429
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Left
, Orientation.Vertical, 0, 1, 1 };
2430
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, Orientation.Vertical, 0, 0, 1 };
2532
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Left
, Orientation.Horizontal, 1 };
2533
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Left
, Orientation.Horizontal, 1 };
2534
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Left
, Orientation.Horizontal, 1 };
2535
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Left
, Orientation.Horizontal, 1 };
2536
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Left
, Orientation.Horizontal, 1 };
2651
control.Dock = DockStyle.
Left
;
2652
Assert.Equal(DockStyle.
Left
, control.Dock);
2878
foreach (DockStyle dock in new DockStyle[] { DockStyle.Right, DockStyle.
Left
})
2969
foreach (DockStyle dock in new DockStyle[] { DockStyle.Right, DockStyle.
Left
})
3119
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 2 };
3120
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal, ToolStripGripDisplayStyle.Vertical, 2 };
3121
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical, ToolStripGripDisplayStyle.Horizontal, 0 };
3122
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 2 };
3123
yield return new object[] { DockStyle.
Left
, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical, ToolStripGripDisplayStyle.Horizontal, 1 };
ToolStripContainerTests.cs (1)
34
_toolStripContainer.LeftToolStripPanel.Dock.Should().Be(DockStyle.
Left
);
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
42
treeView.Dock = DockStyle.
Left
;
WinFormsControlsTest (2)
Dialogs.Designer.cs (1)
129
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.
Left
;
DockLayoutTests.Designer.cs (1)
45
this.button1.Dock = System.Windows.Forms.DockStyle.
Left
;