212 references to Right
Accessibility_Core_App (1)
RemainingControls.Designer.cs (1)
54
this.vScrollBar1.Dock = System.Windows.Forms.DockStyle.
Right
;
System.Windows.Forms (25)
System\Windows\Forms\ActiveX\AxHost.cs (1)
172
Debug.Assert((int)DockStyle.
Right
== NativeMethods.ActiveX.ALIGN_RIGHT, "align value mismatch");
System\Windows\Forms\Controls\Splitter\Splitter.cs (11)
104
DockStyle.Left or DockStyle.
Right
=> Cursors.VSplit,
243
if (value is not (DockStyle.Top or DockStyle.Bottom or DockStyle.Left or DockStyle.
Right
))
262
case DockStyle.
Right
:
281
return dock is DockStyle.Left or DockStyle.
Right
;
412
case DockStyle.
Right
:
586
case DockStyle.
Right
:
614
DockStyle.Left or DockStyle.
Right
=> r.Width,
632
case DockStyle.
Right
:
658
case DockStyle.
Right
:
752
case DockStyle.
Right
:
793
case DockStyle.
Right
:
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
581
direction = (actualDock == DockStyle.
Right
) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right;
589
direction = ((Dock == DockStyle.
Right
) && (RightToLeft == RightToLeft.No)) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right;
4526
if (newDock is DockStyle.Left or DockStyle.
Right
)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (3)
37
_rightPanel.Dock = DockStyle.
Right
;
368
LeftToolStripPanel.Dock = DockStyle.
Right
;
372
RightToolStripPanel.Dock = DockStyle.
Right
;
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)
368
if (toolStrip.AutoSize && (IsNotInToolStripPanelWithLeftDockstyle || dock == DockStyle.
Right
))
System\Windows\Forms\Layout\DefaultLayout.cs (2)
437
case DockStyle.
Right
:
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 (2)
367
case DockStyle.
Right
:
428
case DockStyle.
Right
:
System.Windows.Forms.Design (16)
System\ComponentModel\Design\ByteViewer.cs (1)
450
_scrollBar.Dock = DockStyle.
Right
;
System\ComponentModel\Design\DesignerActionPanel.cs (3)
308
edgeToDock = DockStyle.
Right
;
314
edgeToDock = DockStyle.
Right
;
320
edgeToDock = DockStyle.
Right
;
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
55
case DockStyle.
Right
:
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (2)
133
case DockStyle.
Right
:
182
case DockStyle.
Right
:
System\Windows\Forms\Design\ControlCommandSet.cs (1)
537
flipOffset = docked is DockStyle.Bottom or DockStyle.
Right
;
System\Windows\Forms\Design\ControlDesigner.cs (3)
240
dock = DockStyle.
Right
;
242
else if (dock == DockStyle.
Right
)
256
case DockStyle.
Right
:
System\Windows\Forms\Design\DockEditor.DockUI.cs (3)
55
Dock = DockStyle.
Right
,
130
return DockStyle.
Right
;
156
case DockStyle.
Right
:
System\Windows\Forms\Design\ListBoxDesigner.cs (2)
28
and not DockStyle.
Right
)
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)
30
new object[] { DockStyle.
Right
, false },
System.Windows.Forms.Tests (165)
System\Windows\Forms\ControlTests.Properties.cs (14)
790
foreach (DockStyle dock in new DockStyle[] { DockStyle.Bottom, DockStyle.Fill, DockStyle.Left, DockStyle.
Right
, DockStyle.Top })
4175
yield return new object[] { DockStyle.
Right
, 1 };
4230
yield return new object[] { DockStyle.
Right
, DockStyle.Bottom, 1 };
4237
yield return new object[] { DockStyle.
Right
, DockStyle.Fill, 1 };
4244
yield return new object[] { DockStyle.
Right
, DockStyle.Left, 1 };
4251
yield return new object[] { DockStyle.
Right
, DockStyle.None, 1 };
4254
yield return new object[] { DockStyle.Bottom, DockStyle.
Right
, 1 };
4255
yield return new object[] { DockStyle.Fill, DockStyle.
Right
, 1 };
4256
yield return new object[] { DockStyle.Left, DockStyle.
Right
, 1 };
4257
yield return new object[] { DockStyle.None, DockStyle.
Right
, 1 };
4258
yield return new object[] { DockStyle.
Right
, DockStyle.
Right
, 0 };
4259
yield return new object[] { DockStyle.Top, DockStyle.
Right
, 1 };
4265
yield return new object[] { DockStyle.
Right
, DockStyle.Top, 1 };
System\Windows\Forms\SplitterTests.cs (23)
377
yield return new object[] { DockStyle.
Right
, Cursors.VSplit };
394
[InlineData(DockStyle.
Right
)]
423
[InlineData(DockStyle.
Right
, 40, 0)]
456
[InlineData(DockStyle.
Right
)]
488
[InlineData(DockStyle.
Right
, 40, 1)]
524
yield return new object[] { DockStyle.
Right
, 1 };
577
yield return new object[] { DockStyle.
Right
, DockStyle.Bottom, 1 };
582
yield return new object[] { DockStyle.
Right
, DockStyle.Left, 1 };
585
yield return new object[] { DockStyle.Bottom, DockStyle.
Right
, 1 };
586
yield return new object[] { DockStyle.Left, DockStyle.
Right
, 1 };
587
yield return new object[] { DockStyle.
Right
, DockStyle.
Right
, 0 };
588
yield return new object[] { DockStyle.Top, DockStyle.
Right
, 1 };
592
yield return new object[] { DockStyle.
Right
, DockStyle.Top, 1 };
644
[InlineData(DockStyle.
Right
)]
1094
yield return new object[] { DockStyle.
Right
, -2 };
1095
yield return new object[] { DockStyle.
Right
, 1 };
1096
yield return new object[] { DockStyle.
Right
, 0 };
1097
yield return new object[] { DockStyle.
Right
, 25 };
1169
yield return new object[] { childDock, DockStyle.
Right
, -2 };
1170
yield return new object[] { childDock, DockStyle.
Right
, 1 };
1171
yield return new object[] { childDock, DockStyle.
Right
, 0 };
1172
yield return new object[] { childDock, DockStyle.
Right
, 25 };
System\Windows\Forms\StatusStripTests.cs (6)
262
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Right
, 1, Orientation.Vertical, 1 };
263
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, 1, Orientation.Horizontal, 0 };
264
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, 1, Orientation.Vertical, 1 };
265
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Right
, 1, Orientation.Vertical, 1 };
266
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, 1, Orientation.Vertical, 0 };
357
foreach (DockStyle dock in new DockStyle[] { DockStyle.
Right
, DockStyle.Left })
System\Windows\Forms\ToolStripDropDownTests.cs (33)
1118
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1119
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Right };
1120
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1131
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1132
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Right };
1133
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1147
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1148
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Right };
1149
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1163
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1164
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Right };
1165
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1179
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1180
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Right };
1181
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1235
foreach (DockStyle parentDock in new object[] { DockStyle.None, DockStyle.Left, DockStyle.
Right
, DockStyle.Top, DockStyle.Bottom })
1243
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1244
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Right };
1245
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1256
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1257
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Right };
1258
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1272
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1273
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Right };
1274
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1288
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1289
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Right };
1290
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1304
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1305
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Right };
1306
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
4951
control.Dock = DockStyle.
Right
;
4953
control.Dock.Should().Be(DockStyle.
Right
);
System\Windows\Forms\ToolStripTests.cs (88)
1669
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1670
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Left };
1671
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
1682
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1683
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1684
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1698
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1699
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Left };
1700
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
1714
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1715
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Left };
1716
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
1730
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1731
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Left };
1732
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
1786
foreach (DockStyle parentDock in new object[] { DockStyle.None, DockStyle.Left, DockStyle.
Right
, DockStyle.Top, DockStyle.Bottom })
1794
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1795
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Left };
1796
yield return new object[] { parentDock, ToolStripLayoutStyle.Flow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
1807
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1808
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1809
yield return new object[] { parentDock, ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1823
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1824
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Left };
1825
yield return new object[] { parentDock, ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
1839
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1840
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Left };
1841
yield return new object[] { parentDock, ToolStripLayoutStyle.Table, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
1855
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.Yes, ToolStripDropDownDirection.Right };
1856
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.No, ToolStripDropDownDirection.Left };
1857
yield return new object[] { parentDock, ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
1922
foreach (DockStyle childDock in new object[] { DockStyle.None, DockStyle.Left, DockStyle.
Right
, DockStyle.Top, DockStyle.Bottom })
1930
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1931
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1932
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1943
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1944
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1945
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1959
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1960
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Left };
1961
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
1975
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1976
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1977
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
1991
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1992
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Left };
1993
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
2026
foreach (DockStyle childDock in new object[] { DockStyle.None, DockStyle.Left, DockStyle.
Right
, DockStyle.Top, DockStyle.Bottom })
2034
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
2035
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
2036
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Flow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
2047
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
2048
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
2049
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.HorizontalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
2063
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.Left };
2064
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Left };
2065
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.StackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
2079
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
2080
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Table, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
2081
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Table, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
2095
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Yes, ToolStripDropDownDirection.Left };
2096
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.No, ToolStripDropDownDirection.Left };
2097
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.VerticalStackWithOverflow, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.Left };
2321
Assert.Equal(DockStyle.
Right
, control.Dock);
2326
protected override DockStyle DefaultDock => DockStyle.
Right
;
2355
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Right
, 1, Orientation.Vertical, 1 };
2356
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, 1, Orientation.Horizontal, 0 };
2357
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, 1, Orientation.Vertical, 1 };
2358
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Right
, 1, Orientation.Vertical, 1 };
2359
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, 1, Orientation.Vertical, 0 };
2438
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Right
, Orientation.Vertical, 0, 1, 1 };
2439
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, Orientation.Horizontal, 1, 0, 1 };
2440
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, Orientation.Vertical, 0, 1, 1 };
2441
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Right
, Orientation.Vertical, 0, 1, 1 };
2442
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, Orientation.Vertical, 0, 0, 1 };
2544
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.
Right
, Orientation.Horizontal, 1 };
2545
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.
Right
, Orientation.Horizontal, 1 };
2546
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.
Right
, Orientation.Horizontal, 1 };
2547
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.
Right
, Orientation.Horizontal, 1 };
2548
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.
Right
, Orientation.Horizontal, 1 };
2878
foreach (DockStyle dock in new DockStyle[] { DockStyle.
Right
, DockStyle.Left })
2969
foreach (DockStyle dock in new DockStyle[] { DockStyle.
Right
, DockStyle.Left })
3053
foreach (DockStyle dock in new DockStyle[] { DockStyle.
Right
}) // , DockStyle.Left })
3125
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 2 };
3126
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal, ToolStripGripDisplayStyle.Vertical, 2 };
3127
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical, ToolStripGripDisplayStyle.Horizontal, 0 };
3128
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 2 };
3129
yield return new object[] { DockStyle.
Right
, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical, ToolStripGripDisplayStyle.Horizontal, 1 };
ToolStripContainerTests.cs (1)
35
_toolStripContainer.RightToolStripPanel.Dock.Should().Be(DockStyle.
Right
);
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
963
Dock = DockStyle.
Right
,
WinFormsControlsTest (3)
DockLayoutTests.Designer.cs (1)
55
this.button3.Dock = System.Windows.Forms.DockStyle.
Right
;
DragDrop.cs (1)
441
Dock = DockStyle.
Right
,
DragDrop.Designer.cs (1)
167
tableLayoutPanel2.Dock = DockStyle.
Right
;