334 references to Horizontal
System.Windows.Forms (69)
System\Windows\Forms\Controls\ToolStrips\ArrowDirection.cs (2)
14
Left = 0x00 | Orientation.
Horizontal
,
15
Right = 0x10 | Orientation.
Horizontal
,
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (4)
25
private Orientation _lastOrientation = Orientation.
Horizontal
;
71
if (Orientation == Orientation.
Horizontal
)
306
if (Orientation == Orientation.
Horizontal
)
466
if (Orientation == Orientation.
Horizontal
)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (10)
733
if (Orientation == Orientation.
Horizontal
)
1182
case Orientation.
Horizontal
:
1208
UpdateOrientation(Orientation.
Horizontal
);
1218
UpdateOrientation(Orientation.
Horizontal
);
1227
UpdateOrientation((value == ToolStripLayoutStyle.VerticalStackWithOverflow) ? Orientation.Vertical : Orientation.
Horizontal
);
1380
public Orientation Orientation { get; private set; } = Orientation.
Horizontal
;
3050
if (IsDropDown || Orientation != Orientation.
Horizontal
)
3780
if (Orientation == Orientation.
Horizontal
)
4172
if (Orientation == Orientation.
Horizontal
)
4533
UpdateOrientation(Orientation.
Horizontal
);
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (3)
60
int height = (toolStrip.Orientation == Orientation.
Horizontal
) ? bounds.Height : bounds.Width;
61
int width = (toolStrip.Orientation == Orientation.
Horizontal
) ? bounds.Width : bounds.Height;
73
shadowRects[i] = (toolStrip.Orientation == Orientation.
Horizontal
) ?
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (2)
76
if (parent.Orientation == Orientation.
Horizontal
)
94
if (ParentInternal.Orientation == Orientation.
Horizontal
)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (9)
15
private Orientation _orientation = Orientation.
Horizontal
;
148
Orientation = Orientation.
Horizontal
;
404
if (Orientation == Orientation.
Horizontal
)
419
&& Orientation == Orientation.
Horizontal
668
if (Orientation == Orientation.
Horizontal
&& RightToLeft == RightToLeft.Yes)
729
if (Orientation == Orientation.
Horizontal
)
858
if (Orientation == Orientation.
Horizontal
)
894
Point endLocation = (Orientation == Orientation.
Horizontal
) ? new Point(clientLocation.X, row.Bounds.Y) : new Point(row.Bounds.X, clientLocation.Y);
1024
if (Orientation == Orientation.
Horizontal
&& (bounds.Width == 0))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelControlCollection.cs (1)
37
if (_owner.Orientation == Orientation.
Horizontal
)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (2)
272
if (ToolStripPanelRow.Orientation == Orientation.
Horizontal
)
312
if (ToolStripPanelRow.Orientation == Orientation.
Horizontal
)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (4)
115
_rowManager = Orientation == Orientation.
Horizontal
137
if (Orientation == Orientation.
Horizontal
)
390
else if (Orientation == Orientation.
Horizontal
)
674
if (Orientation == Orientation.
Horizontal
&& ParentInternal is not null)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (10)
163
bool horizontal = e.ToolStrip is not null && e.ToolStrip.Orientation == Orientation.
Horizontal
;
422
if (toolStrip.Orientation == Orientation.
Horizontal
)
455
if (toolStrip.Orientation == Orientation.
Horizontal
)
488
int height = (toolStrip.Orientation == Orientation.
Horizontal
) ? bounds.Height : bounds.Width;
489
int width = (toolStrip.Orientation == Orientation.
Horizontal
) ? bounds.Width : bounds.Height;
504
shadowRects[i] = (toolStrip.Orientation == Orientation.
Horizontal
) ?
1120
RenderBackgroundGradient(g, control, beginColor, endColor, Orientation.
Horizontal
);
1131
if (orientation != Orientation.
Horizontal
)
1177
LinearGradientMode mode = (toolStrip.Orientation == Orientation.
Horizontal
) ? LinearGradientMode.Vertical : LinearGradientMode.Horizontal;
1221
bool horizontal = e.ToolStrip is not null && e.ToolStrip.Orientation == Orientation.
Horizontal
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (1)
206
if (_owner.Orientation == Orientation.
Horizontal
)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (12)
33
private Orientation _orientation = Orientation.
Horizontal
;
87
if (_orientation == Orientation.
Horizontal
)
357
[DefaultValue(Orientation.
Horizontal
)]
365
if (value is < Orientation.
Horizontal
or > Orientation.Vertical)
377
if (_orientation == Orientation.
Horizontal
)
703
if (_orientation == Orientation.
Horizontal
)
785
int maxTickCount = (Orientation == Orientation.
Horizontal
? Size.Width : Size.Height) / 2;
829
if (_orientation == Orientation.
Horizontal
&& RightToLeft == RightToLeft.Yes && !IsMirrored)
1010
_requestedDim = (_orientation == Orientation.
Horizontal
) ? height : width;
1014
if (_orientation == Orientation.
Horizontal
)
1116
if (_orientation == Orientation.
Horizontal
&& RightToLeft == RightToLeft.Yes && !IsMirrored)
1145
int size = Orientation == Orientation.
Horizontal
? Size.Width : Size.Height;
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarFirstButtonAccessibleObject.cs (1)
23
: owner.Orientation == Orientation.
Horizontal
&& (owner.RightToLeft == RightToLeft.No || parent.IsMirrored)
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarLastButtonAccessibleObject.cs (1)
23
: owner.Orientation == Orientation.
Horizontal
&& (owner.RightToLeft == RightToLeft.No || parent.IsMirrored)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (7)
1264
else if (Orientation == Orientation.
Horizontal
)
1293
else if (Orientation == Orientation.
Horizontal
)
1322
else if (Orientation == Orientation.
Horizontal
)
1397
case Orientation.
Horizontal
:
1516
case Orientation.
Horizontal
:
1669
else if (Orientation == Orientation.
Horizontal
)
2064
if ((specified & BoundsSpecified.Height) != BoundsSpecified.None && Orientation == Orientation.
Horizontal
)
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\SplitContainerDesigner.OrientationActionList.cs (3)
31
bool needsVertical = ((Orientation)orientationProp.GetValue(_ownerComponent)!) == Orientation.
Horizontal
;
44
Orientation orientation = verb.Text.Equals(SR.DesignerShortcutHorizontalOrientation) ? Orientation.
Horizontal
: Orientation.Vertical;
47
_actionName = (orientation == Orientation.
Horizontal
) ? SR.DesignerShortcutVerticalOrientation : SR.DesignerShortcutHorizontalOrientation;
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1856
if (ToolStrip.Orientation == Orientation.
Horizontal
)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
1230
if (parent.Orientation == Orientation.
Horizontal
)
1251
if (parent.Orientation == Orientation.
Horizontal
)
System\Windows\Forms\Design\TrackBarDesigner.cs (2)
24
var orientation = GetPropertyValue<Orientation?>(Component, nameof(TrackBar.Orientation)) ?? Orientation.
Horizontal
;
28
case Orientation.
Horizontal
:
System.Windows.Forms.Tests (244)
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (10)
82
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 5 };
83
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 0 };
84
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 10 };
85
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 0, /*value*/ 0 };
254
[InlineData(Orientation.
Horizontal
, RightToLeft.Yes, false)]
277
[InlineData(Orientation.
Horizontal
, RightToLeft.No, true)]
278
[InlineData(Orientation.
Horizontal
, RightToLeft.No, false)]
279
[InlineData(Orientation.
Horizontal
, RightToLeft.Yes, true)]
404
[InlineData(Orientation.
Horizontal
, RightToLeft.No, false)]
405
[InlineData(Orientation.
Horizontal
, RightToLeft.Yes, true)]
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (8)
82
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 5 };
83
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 0 };
84
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 10 };
85
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 0, /*value*/ 0 };
255
[InlineData(Orientation.
Horizontal
, RightToLeft.Yes, false)]
278
[InlineData(Orientation.
Horizontal
, RightToLeft.No, true)]
279
[InlineData(Orientation.
Horizontal
, RightToLeft.No, false)]
280
[InlineData(Orientation.
Horizontal
, RightToLeft.Yes, true)]
System\Windows\Forms\MdiControlStripTests.cs (1)
116
Assert.Equal(Orientation.
Horizontal
, mdiControlStrip.Orientation);
System\Windows\Forms\MenuStripTests.cs (1)
114
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
System\Windows\Forms\StatusStripTests.cs (25)
113
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
240
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, 0, Orientation.
Horizontal
, 0 };
241
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, 0, Orientation.
Horizontal
, 0 };
242
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, 0, Orientation.
Horizontal
, 0 };
243
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, 0, Orientation.
Horizontal
, 0 };
246
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
247
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, 1, Orientation.
Horizontal
, 0 };
248
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
249
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
253
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, 1, Orientation.
Horizontal
, 0 };
258
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
259
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, 1, Orientation.
Horizontal
, 0 };
260
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
261
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
265
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, 1, Orientation.
Horizontal
, 0 };
270
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, 1, Orientation.
Horizontal
, 1 };
271
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, 1, Orientation.
Horizontal
, 0 };
272
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, 1, Orientation.
Horizontal
, 1 };
273
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, 1, Orientation.
Horizontal
, 1 };
352
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
353
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
354
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
355
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
361
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
362
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
System\Windows\Forms\ToolStripDropDownTests.cs (1)
120
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
System\Windows\Forms\ToolStripTests.cs (136)
130
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
285
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
2333
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, 1, Orientation.
Horizontal
, 1 };
2334
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, 1, Orientation.
Horizontal
, 0 };
2335
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, 1, Orientation.
Horizontal
, 1 };
2336
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, 1, Orientation.
Horizontal
, 1 };
2339
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
2340
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, 1, Orientation.
Horizontal
, 0 };
2341
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
2342
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
2346
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, 1, Orientation.
Horizontal
, 0 };
2351
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
2352
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, 1, Orientation.
Horizontal
, 0 };
2353
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
2354
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
2358
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, 1, Orientation.
Horizontal
, 0 };
2363
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, 0, Orientation.
Horizontal
, 0 };
2364
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, 0, Orientation.
Horizontal
, 0 };
2365
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, 0, Orientation.
Horizontal
, 0 };
2366
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, 0, Orientation.
Horizontal
, 0 };
2416
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, Orientation.
Horizontal
, 0, 1, 1 };
2417
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, Orientation.
Horizontal
, 1, 0, 1 };
2418
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, Orientation.
Horizontal
, 0, 1, 1 };
2419
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, Orientation.
Horizontal
, 0, 1, 1 };
2422
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, Orientation.
Horizontal
, 0, 1, 1 };
2423
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, Orientation.
Horizontal
, 1, 0, 1 };
2424
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, Orientation.
Horizontal
, 0, 1, 1 };
2425
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, Orientation.
Horizontal
, 0, 1, 1 };
2429
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, Orientation.
Horizontal
, 1, 0, 1 };
2434
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, Orientation.
Horizontal
, 0, 1, 1 };
2435
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, Orientation.
Horizontal
, 1, 0, 1 };
2436
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, Orientation.
Horizontal
, 0, 1, 1 };
2437
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, Orientation.
Horizontal
, 0, 1, 1 };
2441
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, Orientation.
Horizontal
, 1, 0, 1 };
2446
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, Orientation.
Horizontal
, 0, 0, 0 };
2447
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, Orientation.
Horizontal
, 0, 0, 0 };
2448
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, Orientation.
Horizontal
, 0, 0, 0 };
2449
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, Orientation.
Horizontal
, 0, 0, 0 };
2522
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, Orientation.
Horizontal
, 1 };
2523
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, Orientation.
Horizontal
, 1 };
2524
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, Orientation.
Horizontal
, 1 };
2525
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, Orientation.
Horizontal
, 1 };
2526
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, Orientation.
Horizontal
, 1 };
2528
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, Orientation.
Horizontal
, 1 };
2529
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, Orientation.
Horizontal
, 1 };
2530
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, Orientation.
Horizontal
, 1 };
2531
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, Orientation.
Horizontal
, 1 };
2532
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Fill, Orientation.
Horizontal
, 1 };
2534
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, Orientation.
Horizontal
, 1 };
2535
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, Orientation.
Horizontal
, 1 };
2536
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, Orientation.
Horizontal
, 1 };
2537
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, Orientation.
Horizontal
, 1 };
2538
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, Orientation.
Horizontal
, 1 };
2540
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, Orientation.
Horizontal
, 1 };
2541
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, Orientation.
Horizontal
, 1 };
2542
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, Orientation.
Horizontal
, 1 };
2543
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, Orientation.
Horizontal
, 1 };
2544
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, Orientation.
Horizontal
, 1 };
2546
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, Orientation.
Horizontal
, 1 };
2547
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, Orientation.
Horizontal
, 1 };
2548
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, Orientation.
Horizontal
, 1 };
2549
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, Orientation.
Horizontal
, 1 };
2550
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, Orientation.
Horizontal
, 1 };
2552
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, Orientation.
Horizontal
, 0 };
2553
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, Orientation.
Horizontal
, 0 };
2554
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, Orientation.
Horizontal
, 0 };
2555
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, Orientation.
Horizontal
, 0 };
2556
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, Orientation.
Horizontal
, 0 };
2873
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
2874
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2875
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2876
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
2882
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
2883
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
2885
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
2964
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
2965
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2966
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2967
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
2973
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
2974
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2975
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2976
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3028
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3029
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3030
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3031
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3033
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3034
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3035
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3036
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3038
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3039
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3040
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3041
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3043
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3044
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3045
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3046
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3048
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3049
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3050
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3051
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3057
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3058
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3060
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3062
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3063
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3065
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3067
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3068
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3070
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3072
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3073
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3075
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3077
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3078
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3080
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3115
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3116
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3117
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3118
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3121
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 2 };
3122
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 2 };
3124
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 2 };
3127
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 2 };
3128
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 2 };
3130
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 2 };
3133
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3134
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3135
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3136
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3139
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3140
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3141
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3142
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
TrackBarTests.cs (62)
84
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
164
[InlineData(Orientation.
Horizontal
, 0x56010001)]
851
yield return new object[] { true, Orientation.
Horizontal
, new Size(104, s_dimension) };
853
yield return new object[] { false, Orientation.
Horizontal
, new Size(104, s_dimension) };
1301
yield return new object[] { true, Orientation.
Horizontal
, new Size(104, s_dimension), false };
1303
yield return new object[] { false, Orientation.
Horizontal
, new Size(104, s_dimension), false };
1333
yield return new object[] { true, Orientation.
Horizontal
, new Size(s_dimension, s_dimension), false, true };
1335
yield return new object[] { false, Orientation.
Horizontal
, new Size(s_dimension, s_dimension), false, false };
1367
yield return new object[] { true, Orientation.
Horizontal
, new Size(104, s_dimension), false, false, 0 };
1369
yield return new object[] { false, Orientation.
Horizontal
, new Size(104, s_dimension), false, false, 0 };
1413
yield return new object[] { true, Orientation.
Horizontal
, new Size(s_dimension, s_dimension), false, true, 1 };
1415
yield return new object[] { false, Orientation.
Horizontal
, new Size(s_dimension, s_dimension), false, false, 1 };
2044
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, true, 0, 0 };
2045
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, false, 0, 10 };
2046
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, true, 0, 0 };
2047
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, false, 0, 0 };
2048
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, true, 0, 0 };
2049
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, false, 0, 0 };
2057
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, true, 1, 1 };
2058
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, false, 1, 9 };
2059
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, true, 1, 1 };
2060
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, false, 1, 1 };
2061
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, true, 1, 1 };
2062
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, false, 1, 1 };
2070
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, true, 5, 5 };
2071
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, false, 5, 5 };
2072
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, true, 5, 5 };
2073
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, false, 5, 5 };
2074
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, true, 5, 5 };
2075
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, false, 5, 5 };
2083
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, true, 9, 9 };
2084
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, false, 9, 1 };
2085
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, true, 9, 9 };
2086
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, false, 9, 9 };
2087
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, true, 9, 9 };
2088
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, false, 9, 9 };
2096
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, true, 10, 10 };
2097
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, false, 10, 0 };
2098
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, true, 10, 10 };
2099
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, false, 10, 10 };
2100
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, true, 10, 10 };
2101
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, false, 10, 10 };
2862
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 104, s_dimension, specified, 104, s_dimension, 0, 0 };
2863
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 0, 0, specified, 0, 0, 0, 1 };
2864
yield return new object[] { true, Orientation.
Horizontal
, -1, -2, -3, -4, specified, -3, -4, 1, 1 };
2865
yield return new object[] { true, Orientation.
Horizontal
, 1, 0, 0, 0, specified, 0, 0, 1, 1 };
2866
yield return new object[] { true, Orientation.
Horizontal
, 0, 2, 0, 0, specified, 0, 0, 1, 1 };
2867
yield return new object[] { true, Orientation.
Horizontal
, 1, 2, 0, 0, specified, 0, 0, 1, 1 };
2868
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 1, 0, specified, 1, 0, 0, 1 };
2869
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 0, 2, specified, 0, 2, 0, 1 };
2870
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 1, 2, specified, 1, 2, 0, 1 };
2871
yield return new object[] { true, Orientation.
Horizontal
, 1, 2, 30, 40, specified, 30, 40, 1, 1 };
2876
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 104, s_dimension, specified, 104, s_dimension, 0, 0 };
2877
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 0, 0, specified, 0, s_dimension, 0, 1 };
2878
yield return new object[] { true, Orientation.
Horizontal
, -1, -2, -3, -4, specified, -3, s_dimension, 1, 1 };
2879
yield return new object[] { true, Orientation.
Horizontal
, 1, 0, 0, 0, specified, 0, s_dimension, 1, 1 };
2880
yield return new object[] { true, Orientation.
Horizontal
, 0, 2, 0, 0, specified, 0, s_dimension, 1, 1 };
2881
yield return new object[] { true, Orientation.
Horizontal
, 1, 2, 0, 0, specified, 0, s_dimension, 1, 1 };
2882
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 1, 0, specified, 1, s_dimension, 0, 1 };
2883
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 0, 2, specified, 0, s_dimension, 0, 1 };
2884
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 1, 2, specified, 1, s_dimension, 0, 1 };
2885
yield return new object[] { true, Orientation.
Horizontal
, 1, 2, 30, 40, specified, 30, s_dimension, 1, 1 };
System.Windows.Forms.TestUtilities (4)
TrackBarTestHelper.cs (4)
42
int value = orientation == Orientation.
Horizontal
&& (rightToLeft == RightToLeft.No || isMirrored)
65
int value = orientation == Orientation.
Horizontal
&& (rightToLeft == RightToLeft.No || isMirrored)
87
int value = orientation == Orientation.
Horizontal
&& (rightToLeft == RightToLeft.No || isMirrored)
111
int value = orientation == Orientation.
Horizontal
&& (rightToLeft == RightToLeft.No || isMirrored)
System.Windows.Forms.UI.IntegrationTests (1)
Dpi\SplitContainerTests.cs (1)
52
Orientation = Orientation.
Horizontal
,
WindowsFormsIntegration (6)
System\Windows\Integration\Convert.cs (4)
239
returnSize.Width /= ScaleFactor(scale.X, Orientation.
Horizontal
);
250
returnSize.Width /= ScaleFactor(scale.X, Orientation.
Horizontal
, dpiScaleX);
258
size.Width *= ScaleFactor(scale.X, Orientation.
Horizontal
);
266
size.Width *= ScaleFactor(scale.X, Orientation.
Horizontal
, dpiScaleX);
System\Windows\Integration\HostUtils.cs (2)
314
HostUtils.PixelsPerInch(Orientation.
Horizontal
),
376
int nIndex = (orientation == Orientation.
Horizontal
?
WinFormsControlsTest (2)
TrackBars.cs (2)
25
if (trackBar1.Orientation == Orientation.
Horizontal
)
42
trackBar1.Orientation = Orientation.
Horizontal
;