242 references to Flow
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
1201
case ToolStripLayoutStyle.
Flow
:
1770
ToolStripLayoutStyle.
Flow
=> new FlowLayoutSettings(this),
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (3)
928
if (style == ToolStripLayoutStyle.
Flow
)
1097
LayoutStyle = ToolStripLayoutStyle.
Flow
;
1305
if (LayoutStyle == ToolStripLayoutStyle.
Flow
)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
143
[DefaultValue(ToolStripLayoutStyle.
Flow
)]
System.Windows.Forms.Tests (236)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (9)
208
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.
Flow
, null, horizontalSize, canOverflow };
209
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.
Flow
, null, horizontalSize, canOverflow };
340
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.
Flow
, overflowSize };
341
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.
Flow
, overflowSize };
518
yield return new object[] { grip, ToolStripLayoutStyle.
Flow
, null, horizontalSize, canOverflow };
778
yield return new object[] { grip, ToolStripLayoutStyle.
Flow
, null, bothOverflowSize };
817
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.
Flow
, null, bothOverflowSize };
818
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.
Flow
, null, bothOverflowSize };
878
yield return new object[] { grip, ToolStripLayoutStyle.
Flow
, null, overflowSize };
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (9)
188
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.
Flow
, null, horizontalSize, canOverflow };
189
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.
Flow
, null, horizontalSize, canOverflow };
320
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.
Flow
, overflowSize };
321
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.
Flow
, overflowSize };
498
yield return new object[] { grip, ToolStripLayoutStyle.
Flow
, null, horizontalSize, canOverflow };
758
yield return new object[] { grip, ToolStripLayoutStyle.
Flow
, null, bothOverflowSize };
797
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.
Flow
, null, bothOverflowSize };
798
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.
Flow
, null, bothOverflowSize };
859
yield return new object[] { grip, ToolStripLayoutStyle.
Flow
, null, verticalOverflowSize };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (10)
201
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.
Flow
, null, horizontalSize, canOverflow };
202
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.
Flow
, null, horizontalSize, canOverflow };
333
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.
Flow
, overflowSize };
334
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.
Flow
, overflowSize };
511
yield return new object[] { grip, ToolStripLayoutStyle.
Flow
, null, horizontalSize, canOverflow };
771
yield return new object[] { grip, ToolStripLayoutStyle.
Flow
, null, bothOverflowSize };
810
yield return new object[] { ToolStripGripStyle.Visible, ToolStripLayoutStyle.
Flow
, null, bothOverflowSize };
811
yield return new object[] { ToolStripGripStyle.Hidden, ToolStripLayoutStyle.
Flow
, null, bothOverflowSize };
871
yield return new object[] { grip, ToolStripLayoutStyle.
Flow
, null, overflowSize };
911
ToolStripLayoutStyle.
Flow
System\Windows\Forms\FlowLayoutSettingsTests.cs (10)
19
LayoutStyle = ToolStripLayoutStyle.
Flow
49
LayoutStyle = ToolStripLayoutStyle.
Flow
62
LayoutStyle = ToolStripLayoutStyle.
Flow
97
LayoutStyle = ToolStripLayoutStyle.
Flow
108
LayoutStyle = ToolStripLayoutStyle.
Flow
119
LayoutStyle = ToolStripLayoutStyle.
Flow
131
LayoutStyle = ToolStripLayoutStyle.
Flow
171
LayoutStyle = ToolStripLayoutStyle.
Flow
234
LayoutStyle = ToolStripLayoutStyle.
Flow
246
LayoutStyle = ToolStripLayoutStyle.
Flow
System\Windows\Forms\StatusStripTests.cs (13)
203
yield return new object[] { ToolStripLayoutStyle.
Flow
, RightToLeft.Yes, new Padding(14, 0, 1, 0) };
204
yield return new object[] { ToolStripLayoutStyle.
Flow
, RightToLeft.No, new Padding(1, 0, 14, 0) };
205
yield return new object[] { ToolStripLayoutStyle.
Flow
, RightToLeft.Inherit, new Padding(1, 0, 14, 0) };
238
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, 0, Orientation.Horizontal, 0 };
244
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Fill, 1, Orientation.Horizontal, 1 };
250
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Left, 1, Orientation.Vertical, 1 };
256
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.None, 1, Orientation.Horizontal, 1 };
262
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Right, 1, Orientation.Vertical, 1 };
268
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Top, 1, Orientation.Horizontal, 1 };
350
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
359
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 1 };
System\Windows\Forms\ToolStripDropDownTests.cs (32)
111
Assert.Equal(ToolStripLayoutStyle.
Flow
, control.LayoutStyle);
1112
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1113
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right };
1114
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
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 };
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 };
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 };
1124
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1125
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right };
1126
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
1237
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1238
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.Right };
1239
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
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 };
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 };
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 };
1249
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.Left };
1250
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.Right };
1251
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.Right };
3004
FlowLayoutSettings settings = Assert.IsType<FlowLayoutSettings>(toolStrip.CreateLayoutSettings(ToolStripLayoutStyle.
Flow
));
System\Windows\Forms\ToolStripSeparatorTests.cs (11)
765
yield return new object[] { ToolStripLayoutStyle.
Flow
, Size.Empty, new Size(6, 23) };
766
yield return new object[] { ToolStripLayoutStyle.
Flow
, new Size(-1, -2), new Size(6, 23) };
767
yield return new object[] { ToolStripLayoutStyle.
Flow
, new Size(10, 20), new Size(6, 23) };
768
yield return new object[] { ToolStripLayoutStyle.
Flow
, new Size(30, 40), new Size(6, 23) };
769
yield return new object[] { ToolStripLayoutStyle.
Flow
, new Size(int.MaxValue, int.MaxValue), new Size(6, 23) };
864
yield return new object[] { ToolStripLayoutStyle.
Flow
, Size.Empty, new Size(91, 6) };
865
yield return new object[] { ToolStripLayoutStyle.
Flow
, new Size(-1, -2), new Size(91, 6) };
866
yield return new object[] { ToolStripLayoutStyle.
Flow
, new Size(10, 20), new Size(91, 6) };
867
yield return new object[] { ToolStripLayoutStyle.
Flow
, new Size(30, 40), new Size(91, 6) };
868
yield return new object[] { ToolStripLayoutStyle.
Flow
, new Size(int.MaxValue, int.MaxValue), new Size(91, 6) };
1199
yield return new object[] { ownerLayoutStyle, ToolStripLayoutStyle.
Flow
, true };
System\Windows\Forms\ToolStripTests.cs (142)
1663
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1664
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1665
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
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 };
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 };
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 };
1675
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.AboveLeft };
1676
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.AboveRight };
1677
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.AboveRight };
1788
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1789
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1790
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.None, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
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 };
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 };
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 };
1800
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.Yes, ToolStripDropDownDirection.AboveLeft };
1801
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.No, ToolStripDropDownDirection.AboveRight };
1802
yield return new object[] { parentDock, ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, RightToLeft.Inherit, ToolStripDropDownDirection.AboveRight };
1924
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
1925
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
1926
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
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 };
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 };
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 };
1936
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.Yes, ToolStripDropDownDirection.AboveLeft };
1937
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.No, ToolStripDropDownDirection.AboveRight };
1938
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.AboveRight };
2028
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.Yes, ToolStripDropDownDirection.BelowLeft };
2029
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.No, ToolStripDropDownDirection.BelowRight };
2030
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.BelowRight };
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 };
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 };
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 };
2040
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.Yes, ToolStripDropDownDirection.AboveLeft };
2041
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.No, ToolStripDropDownDirection.AboveRight };
2042
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.
Flow
, childDock, RightToLeft.Inherit, ToolStripDropDownDirection.AboveRight };
2266
yield return new object[] { ToolStripLayoutStyle.
Flow
, ToolStripGripStyle.Visible, RightToLeft.Yes, new Rectangle(0, 0, 99, 25) };
2267
yield return new object[] { ToolStripLayoutStyle.
Flow
, ToolStripGripStyle.Visible, RightToLeft.No, new Rectangle(0, 0, 99, 25) };
2268
yield return new object[] { ToolStripLayoutStyle.
Flow
, ToolStripGripStyle.Visible, RightToLeft.Inherit, new Rectangle(0, 0, 99, 25) };
2269
yield return new object[] { ToolStripLayoutStyle.
Flow
, ToolStripGripStyle.Hidden, RightToLeft.Yes, new Rectangle(0, 0, 99, 25) };
2270
yield return new object[] { ToolStripLayoutStyle.
Flow
, ToolStripGripStyle.Hidden, RightToLeft.No, new Rectangle(0, 0, 99, 25) };
2271
yield return new object[] { ToolStripLayoutStyle.
Flow
, ToolStripGripStyle.Hidden, RightToLeft.Inherit, new Rectangle(0, 0, 99, 25) };
2331
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, 1, Orientation.Horizontal, 1 };
2337
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Fill, 1, Orientation.Horizontal, 1 };
2343
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Left, 1, Orientation.Vertical, 1 };
2349
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.None, 1, Orientation.Horizontal, 1 };
2355
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Right, 1, Orientation.Vertical, 1 };
2361
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Top, 0, Orientation.Horizontal, 0 };
2414
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, Orientation.Horizontal, 0, 1, 1 };
2420
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Fill, Orientation.Horizontal, 0, 1, 1 };
2426
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Left, Orientation.Vertical, 0, 1, 1 };
2432
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.None, Orientation.Horizontal, 0, 1, 1 };
2438
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Right, Orientation.Vertical, 0, 1, 1 };
2444
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Top, Orientation.Horizontal, 0, 0, 0 };
2520
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Bottom, Orientation.Horizontal, 1 };
2526
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Fill, Orientation.Horizontal, 1 };
2532
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Left, Orientation.Horizontal, 1 };
2538
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.None, Orientation.Horizontal, 1 };
2544
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Right, Orientation.Horizontal, 1 };
2550
yield return new object[] { ToolStripLayoutStyle.
Flow
, DockStyle.Top, Orientation.Horizontal, 0 };
2871
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
2880
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 1 };
2962
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
2971
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
3026
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
3027
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal, ToolStripGripDisplayStyle.Vertical, 0 };
3028
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal, ToolStripGripDisplayStyle.Vertical, 1 };
3029
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
3030
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical, ToolStripGripDisplayStyle.Horizontal, 1 };
3031
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
3036
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
3041
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
3046
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 1 };
3055
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
3056
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal, ToolStripGripDisplayStyle.Vertical, 0 };
3057
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical, ToolStripGripDisplayStyle.Horizontal, 1 };
3058
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
3059
yield return new object[] { dock, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical, ToolStripGripDisplayStyle.Horizontal, 1 };
3060
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
3065
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 1 };
3070
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 0 };
3075
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 1 };
3113
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 1 };
3119
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 2 };
3125
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 2 };
3131
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 1 };
3137
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.
Flow
, ToolStripLayoutStyle.
Flow
, Orientation.Horizontal, ToolStripGripDisplayStyle.Horizontal, 1 };
3198
control.LayoutStyle = ToolStripLayoutStyle.
Flow
;
3199
Assert.Equal(ToolStripLayoutStyle.
Flow
, control.LayoutStyle);
3203
control.LayoutStyle = ToolStripLayoutStyle.
Flow
;
3204
Assert.Equal(ToolStripLayoutStyle.
Flow
, control.LayoutStyle);
3214
control.LayoutStyle = ToolStripLayoutStyle.
Flow
;
3215
Assert.Equal(ToolStripLayoutStyle.
Flow
, control.LayoutStyle);
4322
FlowLayoutSettings settings = Assert.IsType<FlowLayoutSettings>(toolStrip.CreateLayoutSettings(ToolStripLayoutStyle.
Flow
));
7274
[InlineData(ToolStripLayoutStyle.
Flow
, true, ToolStripGripStyle.Visible)]
7279
[InlineData(ToolStripLayoutStyle.
Flow
, true, ToolStripGripStyle.Hidden)]
7403
toolStrip.LayoutStyle = ToolStripLayoutStyle.
Flow
;