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
;
74
if (Orientation == Orientation.
Horizontal
)
309
if (Orientation == Orientation.
Horizontal
)
458
if (Orientation == Orientation.
Horizontal
)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (10)
736
if (Orientation == Orientation.
Horizontal
)
1185
case Orientation.
Horizontal
:
1211
UpdateOrientation(Orientation.
Horizontal
);
1221
UpdateOrientation(Orientation.
Horizontal
);
1230
UpdateOrientation((value == ToolStripLayoutStyle.VerticalStackWithOverflow) ? Orientation.Vertical : Orientation.
Horizontal
);
1383
public Orientation Orientation { get; private set; } = Orientation.
Horizontal
;
3053
if (IsDropDown || Orientation != Orientation.
Horizontal
)
3781
if (Orientation == Orientation.
Horizontal
)
4173
if (Orientation == Orientation.
Horizontal
)
4532
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
676
if (Orientation == Orientation.
Horizontal
&& RightToLeft == RightToLeft.Yes)
737
if (Orientation == Orientation.
Horizontal
)
866
if (Orientation == Orientation.
Horizontal
)
902
Point endLocation = (Orientation == Orientation.
Horizontal
) ? new Point(clientLocation.X, row.Bounds.Y) : new Point(row.Bounds.X, clientLocation.Y);
1032
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)
270
if (ToolStripPanelRow.Orientation == Orientation.
Horizontal
)
310
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)
34
private Orientation _orientation = Orientation.
Horizontal
;
88
if (_orientation == Orientation.
Horizontal
)
358
[DefaultValue(Orientation.
Horizontal
)]
366
if (value is < Orientation.
Horizontal
or > Orientation.Vertical)
378
if (_orientation == Orientation.
Horizontal
)
704
if (_orientation == Orientation.
Horizontal
)
786
int maxTickCount = (Orientation == Orientation.
Horizontal
? Size.Width : Size.Height) / 2;
830
if (_orientation == Orientation.
Horizontal
&& RightToLeft == RightToLeft.Yes && !IsMirrored)
1011
_requestedDim = (_orientation == Orientation.
Horizontal
) ? height : width;
1015
if (_orientation == Orientation.
Horizontal
)
1117
if (_orientation == Orientation.
Horizontal
&& RightToLeft == RightToLeft.Yes && !IsMirrored)
1146
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)
1823
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)
80
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 5 };
81
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 0 };
82
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 10 };
83
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 0, /*value*/ 0 };
252
[InlineData(Orientation.
Horizontal
, RightToLeft.Yes, false)]
275
[InlineData(Orientation.
Horizontal
, RightToLeft.No, true)]
276
[InlineData(Orientation.
Horizontal
, RightToLeft.No, false)]
277
[InlineData(Orientation.
Horizontal
, RightToLeft.Yes, true)]
402
[InlineData(Orientation.
Horizontal
, RightToLeft.No, false)]
403
[InlineData(Orientation.
Horizontal
, RightToLeft.Yes, true)]
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (8)
80
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 5 };
81
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 0 };
82
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 10, /*value*/ 10 };
83
yield return new object[] { Orientation.
Horizontal
, rightToLeft, rightToLeftLayout, createControl, /*minumim*/ 0, /*maximum*/ 0, /*value*/ 0 };
253
[InlineData(Orientation.
Horizontal
, RightToLeft.Yes, false)]
276
[InlineData(Orientation.
Horizontal
, RightToLeft.No, true)]
277
[InlineData(Orientation.
Horizontal
, RightToLeft.No, false)]
278
[InlineData(Orientation.
Horizontal
, RightToLeft.Yes, true)]
System\Windows\Forms\MdiControlStripTests.cs (1)
114
Assert.Equal(Orientation.
Horizontal
, mdiControlStrip.Orientation);
System\Windows\Forms\MenuStripTests.cs (1)
112
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
System\Windows\Forms\StatusStripTests.cs (25)
111
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
238
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, 0, Orientation.
Horizontal
, 0 };
239
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, 0, Orientation.
Horizontal
, 0 };
240
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, 0, Orientation.
Horizontal
, 0 };
241
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, 0, Orientation.
Horizontal
, 0 };
244
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
245
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, 1, Orientation.
Horizontal
, 0 };
246
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
247
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
251
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, 1, Orientation.
Horizontal
, 0 };
256
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
257
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, 1, Orientation.
Horizontal
, 0 };
258
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
259
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
263
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, 1, Orientation.
Horizontal
, 0 };
268
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, 1, Orientation.
Horizontal
, 1 };
269
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, 1, Orientation.
Horizontal
, 0 };
270
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, 1, Orientation.
Horizontal
, 1 };
271
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, 1, Orientation.
Horizontal
, 1 };
350
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
351
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
352
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
353
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
359
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
360
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
System\Windows\Forms\ToolStripDropDownTests.cs (1)
118
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
System\Windows\Forms\ToolStripTests.cs (136)
128
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
283
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
2331
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, 1, Orientation.
Horizontal
, 1 };
2332
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, 1, Orientation.
Horizontal
, 0 };
2333
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, 1, Orientation.
Horizontal
, 1 };
2334
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, 1, Orientation.
Horizontal
, 1 };
2337
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
2338
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, 1, Orientation.
Horizontal
, 0 };
2339
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
2340
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, 1, Orientation.
Horizontal
, 1 };
2344
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, 1, Orientation.
Horizontal
, 0 };
2349
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
2350
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, 1, Orientation.
Horizontal
, 0 };
2351
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
2352
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, 1, Orientation.
Horizontal
, 1 };
2356
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, 1, Orientation.
Horizontal
, 0 };
2361
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, 0, Orientation.
Horizontal
, 0 };
2362
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, 0, Orientation.
Horizontal
, 0 };
2363
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, 0, Orientation.
Horizontal
, 0 };
2364
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, 0, Orientation.
Horizontal
, 0 };
2414
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, Orientation.
Horizontal
, 0, 1, 1 };
2415
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, Orientation.
Horizontal
, 1, 0, 1 };
2416
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, Orientation.
Horizontal
, 0, 1, 1 };
2417
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, Orientation.
Horizontal
, 0, 1, 1 };
2420
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, Orientation.
Horizontal
, 0, 1, 1 };
2421
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, Orientation.
Horizontal
, 1, 0, 1 };
2422
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, Orientation.
Horizontal
, 0, 1, 1 };
2423
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, Orientation.
Horizontal
, 0, 1, 1 };
2427
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, Orientation.
Horizontal
, 1, 0, 1 };
2432
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, Orientation.
Horizontal
, 0, 1, 1 };
2433
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, Orientation.
Horizontal
, 1, 0, 1 };
2434
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, Orientation.
Horizontal
, 0, 1, 1 };
2435
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, Orientation.
Horizontal
, 0, 1, 1 };
2439
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, Orientation.
Horizontal
, 1, 0, 1 };
2444
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, Orientation.
Horizontal
, 0, 0, 0 };
2445
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, Orientation.
Horizontal
, 0, 0, 0 };
2446
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, Orientation.
Horizontal
, 0, 0, 0 };
2447
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, Orientation.
Horizontal
, 0, 0, 0 };
2520
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Bottom, Orientation.
Horizontal
, 1 };
2521
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Bottom, Orientation.
Horizontal
, 1 };
2522
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Bottom, Orientation.
Horizontal
, 1 };
2523
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Bottom, Orientation.
Horizontal
, 1 };
2524
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, Orientation.
Horizontal
, 1 };
2526
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Fill, Orientation.
Horizontal
, 1 };
2527
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Fill, Orientation.
Horizontal
, 1 };
2528
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Fill, Orientation.
Horizontal
, 1 };
2529
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Fill, Orientation.
Horizontal
, 1 };
2530
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Fill, Orientation.
Horizontal
, 1 };
2532
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, Orientation.
Horizontal
, 1 };
2533
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Left, Orientation.
Horizontal
, 1 };
2534
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, Orientation.
Horizontal
, 1 };
2535
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, Orientation.
Horizontal
, 1 };
2536
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, Orientation.
Horizontal
, 1 };
2538
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.None, Orientation.
Horizontal
, 1 };
2539
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.None, Orientation.
Horizontal
, 1 };
2540
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.None, Orientation.
Horizontal
, 1 };
2541
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.None, Orientation.
Horizontal
, 1 };
2542
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, Orientation.
Horizontal
, 1 };
2544
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, Orientation.
Horizontal
, 1 };
2545
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Right, Orientation.
Horizontal
, 1 };
2546
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, Orientation.
Horizontal
, 1 };
2547
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, Orientation.
Horizontal
, 1 };
2548
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, Orientation.
Horizontal
, 1 };
2550
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Top, Orientation.
Horizontal
, 0 };
2551
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, DockStyle.Top, Orientation.
Horizontal
, 0 };
2552
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, Orientation.
Horizontal
, 0 };
2553
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Top, Orientation.
Horizontal
, 0 };
2554
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, Orientation.
Horizontal
, 0 };
2871
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
2872
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2873
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2874
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
2880
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
2881
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
2883
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
2962
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
2963
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2964
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2965
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
2971
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
2972
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2973
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
2974
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, 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 };
3031
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3032
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3033
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3034
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3036
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3037
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3038
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3039
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3041
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3042
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3043
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3044
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3046
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3047
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3048
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3049
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, 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 };
3058
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3060
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3061
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3063
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3065
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3066
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3068
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3070
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3071
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3073
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 0 };
3075
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3076
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3078
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3113
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3114
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3115
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3116
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3119
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 2 };
3120
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 2 };
3122
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 2 };
3125
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 2 };
3126
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 2 };
3128
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 2 };
3131
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3132
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3133
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3134
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3137
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
3138
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 1 };
3139
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Vertical, 0 };
3140
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Horizontal
, ToolStripGripDisplayStyle.Horizontal, 1 };
TrackBarTests.cs (62)
82
Assert.Equal(Orientation.
Horizontal
, control.Orientation);
162
[InlineData(Orientation.
Horizontal
, 0x56010001)]
849
yield return new object[] { true, Orientation.
Horizontal
, new Size(104, s_dimension) };
851
yield return new object[] { false, Orientation.
Horizontal
, new Size(104, s_dimension) };
1299
yield return new object[] { true, Orientation.
Horizontal
, new Size(104, s_dimension), false };
1301
yield return new object[] { false, Orientation.
Horizontal
, new Size(104, s_dimension), false };
1331
yield return new object[] { true, Orientation.
Horizontal
, new Size(s_dimension, s_dimension), false, true };
1333
yield return new object[] { false, Orientation.
Horizontal
, new Size(s_dimension, s_dimension), false, false };
1365
yield return new object[] { true, Orientation.
Horizontal
, new Size(104, s_dimension), false, false, 0 };
1367
yield return new object[] { false, Orientation.
Horizontal
, new Size(104, s_dimension), false, false, 0 };
1411
yield return new object[] { true, Orientation.
Horizontal
, new Size(s_dimension, s_dimension), false, true, 1 };
1413
yield return new object[] { false, Orientation.
Horizontal
, new Size(s_dimension, s_dimension), false, false, 1 };
2042
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, true, 0, 0 };
2043
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, false, 0, 10 };
2044
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, true, 0, 0 };
2045
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, false, 0, 0 };
2046
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, true, 0, 0 };
2047
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, false, 0, 0 };
2055
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, true, 1, 1 };
2056
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, false, 1, 9 };
2057
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, true, 1, 1 };
2058
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, false, 1, 1 };
2059
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, true, 1, 1 };
2060
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, false, 1, 1 };
2068
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, true, 5, 5 };
2069
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, false, 5, 5 };
2070
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, true, 5, 5 };
2071
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, false, 5, 5 };
2072
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, true, 5, 5 };
2073
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, false, 5, 5 };
2081
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, true, 9, 9 };
2082
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, false, 9, 1 };
2083
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, true, 9, 9 };
2084
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, false, 9, 9 };
2085
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, true, 9, 9 };
2086
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, false, 9, 9 };
2094
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, true, 10, 10 };
2095
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Yes, false, 10, 0 };
2096
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, true, 10, 10 };
2097
yield return new object[] { Orientation.
Horizontal
, RightToLeft.No, false, 10, 10 };
2098
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, true, 10, 10 };
2099
yield return new object[] { Orientation.
Horizontal
, RightToLeft.Inherit, false, 10, 10 };
2860
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 104, s_dimension, specified, 104, s_dimension, 0, 0 };
2861
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 0, 0, specified, 0, 0, 0, 1 };
2862
yield return new object[] { true, Orientation.
Horizontal
, -1, -2, -3, -4, specified, -3, -4, 1, 1 };
2863
yield return new object[] { true, Orientation.
Horizontal
, 1, 0, 0, 0, specified, 0, 0, 1, 1 };
2864
yield return new object[] { true, Orientation.
Horizontal
, 0, 2, 0, 0, specified, 0, 0, 1, 1 };
2865
yield return new object[] { true, Orientation.
Horizontal
, 1, 2, 0, 0, specified, 0, 0, 1, 1 };
2866
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 1, 0, specified, 1, 0, 0, 1 };
2867
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 0, 2, specified, 0, 2, 0, 1 };
2868
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 1, 2, specified, 1, 2, 0, 1 };
2869
yield return new object[] { true, Orientation.
Horizontal
, 1, 2, 30, 40, specified, 30, 40, 1, 1 };
2874
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 104, s_dimension, specified, 104, s_dimension, 0, 0 };
2875
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 0, 0, specified, 0, s_dimension, 0, 1 };
2876
yield return new object[] { true, Orientation.
Horizontal
, -1, -2, -3, -4, specified, -3, s_dimension, 1, 1 };
2877
yield return new object[] { true, Orientation.
Horizontal
, 1, 0, 0, 0, specified, 0, s_dimension, 1, 1 };
2878
yield return new object[] { true, Orientation.
Horizontal
, 0, 2, 0, 0, specified, 0, s_dimension, 1, 1 };
2879
yield return new object[] { true, Orientation.
Horizontal
, 1, 2, 0, 0, specified, 0, s_dimension, 1, 1 };
2880
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 1, 0, specified, 1, s_dimension, 0, 1 };
2881
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 0, 2, specified, 0, s_dimension, 0, 1 };
2882
yield return new object[] { true, Orientation.
Horizontal
, 0, 0, 1, 2, specified, 1, s_dimension, 0, 1 };
2883
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)
242
returnSize.Width /= ScaleFactor(scale.X, Orientation.
Horizontal
);
253
returnSize.Width /= ScaleFactor(scale.X, Orientation.
Horizontal
, dpiScaleX);
261
size.Width *= ScaleFactor(scale.X, Orientation.
Horizontal
);
269
size.Width *= ScaleFactor(scale.X, Orientation.
Horizontal
, dpiScaleX);
System\Windows\Integration\HostUtils.cs (2)
319
HostUtils.PixelsPerInch(Orientation.
Horizontal
),
381
int nIndex = (orientation == Orientation.
Horizontal
?
WinFormsControlsTest (2)
TrackBars.cs (2)
25
if (trackBar1.Orientation == Orientation.
Horizontal
)
42
trackBar1.Orientation = Orientation.
Horizontal
;