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