196 references to Vertical
System.Windows.Forms (41)
System\Windows\Forms\Controls\ToolStrips\ArrowDirection.cs (2)
12
Up = 0x00 | Orientation.
Vertical
,
13
Down = 0x10 | Orientation.
Vertical
,
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (4)
575
if (Orientation == Orientation.
Vertical
)
1187
case Orientation.
Vertical
:
1230
UpdateOrientation((value == ToolStripLayoutStyle.VerticalStackWithOverflow) ? Orientation.
Vertical
: Orientation.Horizontal);
4528
UpdateOrientation(Orientation.
Vertical
);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (3)
144
Orientation = Orientation.
Vertical
;
964
if (Orientation == Orientation.
Vertical
)
1036
else if (Orientation == Orientation.
Vertical
&& (bounds.Height == 0))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
145
if (ToolStripPanelRow is not null && ToolStripPanelRow.Orientation == Orientation.
Vertical
)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (1)
226
if (_owner.Orientation == Orientation.
Vertical
)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (4)
175
if (_orientation == Orientation.
Vertical
)
366
if (value is < Orientation.Horizontal or > Orientation.
Vertical
)
823
if (_orientation == Orientation.
Vertical
)
1111
if (_orientation == Orientation.
Vertical
)
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarFirstButtonAccessibleObject.cs (1)
41
return owner.Orientation == Orientation.
Vertical
|| parent.RTLLayoutDisabled
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarLastButtonAccessibleObject.cs (1)
50
return owner.Orientation == Orientation.
Vertical
|| parent.RTLLayoutDisabled
System\Windows\Forms\Layout\Containers\SplitContainer.cs (24)
33
private Orientation _orientation = Orientation.
Vertical
;
358
if (Orientation == Orientation.
Vertical
)
391
if (Orientation == Orientation.
Vertical
)
415
[DefaultValue(Orientation.
Vertical
)]
650
if (Orientation == Orientation.
Vertical
)
699
if (Orientation == Orientation.
Vertical
)
962
if (Orientation == Orientation.
Vertical
)
1070
if (Orientation == Orientation.
Vertical
)
1090
if (Orientation == Orientation.
Vertical
)
1205
SetSplitterRect(Orientation == Orientation.
Vertical
);
1257
if (Orientation == Orientation.
Vertical
)
1286
if (Orientation == Orientation.
Vertical
)
1315
if (Orientation == Orientation.
Vertical
)
1352
if (Orientation == Orientation.
Vertical
)
1378
case Orientation.
Vertical
:
1489
if (Orientation == Orientation.
Vertical
)
1504
case Orientation.
Vertical
:
1521
if (Orientation == Orientation.
Vertical
)
1612
if (Orientation == Orientation.
Vertical
)
1759
if (_orientation == Orientation.
Vertical
)
2073
if ((specified & BoundsSpecified.Width) != BoundsSpecified.None && Orientation == Orientation.
Vertical
)
2083
SetSplitterRect(Orientation == Orientation.
Vertical
);
2113
if (Orientation == Orientation.
Vertical
)
2169
if (Orientation == Orientation.
Vertical
)
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\SplitContainerDesigner.OrientationActionList.cs (1)
44
Orientation orientation = verb.Text.Equals(SR.DesignerShortcutHorizontalOrientation) ? Orientation.Horizontal : Orientation.
Vertical
;
System\Windows\Forms\Design\TrackBarDesigner.cs (1)
31
case Orientation.
Vertical
:
System.Windows.Forms.Tests (147)
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (9)
108
if (orientation == Orientation.
Vertical
|| (rightToLeft == RightToLeft.Yes && rightToLeftLayout == false))
248
[InlineData(Orientation.
Vertical
, RightToLeft.Yes, true)]
249
[InlineData(Orientation.
Vertical
, RightToLeft.Yes, false)]
250
[InlineData(Orientation.
Vertical
, RightToLeft.No, true)]
251
[InlineData(Orientation.
Vertical
, RightToLeft.No, false)]
414
[InlineData(Orientation.
Vertical
, RightToLeft.Yes, true)]
415
[InlineData(Orientation.
Vertical
, RightToLeft.Yes, false)]
416
[InlineData(Orientation.
Vertical
, RightToLeft.No, true)]
417
[InlineData(Orientation.
Vertical
, RightToLeft.No, false)]
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (5)
108
if (orientation == Orientation.
Vertical
|| (rightToLeft == RightToLeft.Yes && rightToLeftLayout == false))
249
[InlineData(Orientation.
Vertical
, RightToLeft.Yes, true)]
250
[InlineData(Orientation.
Vertical
, RightToLeft.Yes, false)]
251
[InlineData(Orientation.
Vertical
, RightToLeft.No, true)]
252
[InlineData(Orientation.
Vertical
, RightToLeft.No, false)]
System\Windows\Forms\StatusStripTests.cs (16)
242
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, 0, Orientation.
Vertical
, 0 };
248
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Fill, 1, Orientation.
Vertical
, 0 };
250
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, 1, Orientation.
Vertical
, 1 };
252
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, 1, Orientation.
Vertical
, 1 };
253
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, 1, Orientation.
Vertical
, 1 };
254
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, 1, Orientation.
Vertical
, 0 };
260
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, 1, Orientation.
Vertical
, 0 };
262
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, 1, Orientation.
Vertical
, 1 };
264
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, 1, Orientation.
Vertical
, 1 };
265
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, 1, Orientation.
Vertical
, 1 };
266
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, 1, Orientation.
Vertical
, 0 };
272
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, 1, Orientation.
Vertical
, 0 };
354
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
361
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
362
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 0 };
363
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 0 };
System\Windows\Forms\ToolStripTests.cs (51)
2335
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, 1, Orientation.
Vertical
, 0 };
2341
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Fill, 1, Orientation.
Vertical
, 0 };
2343
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, 1, Orientation.
Vertical
, 1 };
2345
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, 1, Orientation.
Vertical
, 1 };
2346
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, 1, Orientation.
Vertical
, 1 };
2347
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, 1, Orientation.
Vertical
, 0 };
2353
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, 1, Orientation.
Vertical
, 0 };
2355
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, 1, Orientation.
Vertical
, 1 };
2357
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, 1, Orientation.
Vertical
, 1 };
2358
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, 1, Orientation.
Vertical
, 1 };
2359
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, 1, Orientation.
Vertical
, 0 };
2365
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, 0, Orientation.
Vertical
, 0 };
2418
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Bottom, Orientation.
Vertical
, 0, 0, 1 };
2424
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Fill, Orientation.
Vertical
, 0, 0, 1 };
2426
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Left, Orientation.
Vertical
, 0, 1, 1 };
2428
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, Orientation.
Vertical
, 0, 1, 1 };
2429
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Left, Orientation.
Vertical
, 0, 1, 1 };
2430
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Left, Orientation.
Vertical
, 0, 0, 1 };
2436
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.None, Orientation.
Vertical
, 0, 0, 1 };
2438
yield return new object[] { ToolStripLayoutStyle.Flow, DockStyle.Right, Orientation.
Vertical
, 0, 1, 1 };
2440
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, DockStyle.Right, Orientation.
Vertical
, 0, 1, 1 };
2441
yield return new object[] { ToolStripLayoutStyle.Table, DockStyle.Right, Orientation.
Vertical
, 0, 1, 1 };
2442
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Right, Orientation.
Vertical
, 0, 0, 1 };
2448
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, DockStyle.Top, Orientation.
Vertical
, 0, 0, 0 };
2875
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
2882
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 0 };
2884
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 0 };
2966
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
2975
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3030
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3035
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3040
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3045
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3050
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 0 };
3057
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3059
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3062
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3064
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3067
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 0 };
3069
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 0 };
3072
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3074
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3077
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3079
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 0 };
3117
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 2 };
3121
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 0 };
3123
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3127
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 0 };
3129
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 1 };
3135
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 2 };
3141
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.
Vertical
, ToolStripGripDisplayStyle.Horizontal, 2 };
TrackBarTests.cs (66)
163
[InlineData(Orientation.
Vertical
, 0x56010003)]
259
Orientation = Orientation.
Vertical
348
Orientation = Orientation.
Vertical
818
Orientation = Orientation.
Vertical
,
850
yield return new object[] { true, Orientation.
Vertical
, new Size(s_dimension, s_dimension) };
852
yield return new object[] { false, Orientation.
Vertical
, new Size(s_dimension, s_dimension) };
1300
yield return new object[] { true, Orientation.
Vertical
, new Size(104, s_dimension), true };
1302
yield return new object[] { false, Orientation.
Vertical
, new Size(104, s_dimension), false };
1332
yield return new object[] { true, Orientation.
Vertical
, new Size(104, s_dimension), true, false };
1334
yield return new object[] { false, Orientation.
Vertical
, new Size(104, s_dimension), false, false };
1344
Orientation = Orientation.
Vertical
1366
yield return new object[] { true, Orientation.
Vertical
, new Size(s_dimension, 104), true, false, 1 };
1368
yield return new object[] { false, Orientation.
Vertical
, new Size(s_dimension, 104), false, false, 1 };
1412
yield return new object[] { true, Orientation.
Vertical
, new Size(s_dimension, s_dimension), true, false, 0 };
1414
yield return new object[] { false, Orientation.
Vertical
, new Size(s_dimension, s_dimension), false, false, 0 };
1424
Orientation = Orientation.
Vertical
2048
yield return new object[] { Orientation.
Vertical
, RightToLeft.Yes, true, 0, 10 };
2049
yield return new object[] { Orientation.
Vertical
, RightToLeft.Yes, false, 0, 10 };
2050
yield return new object[] { Orientation.
Vertical
, RightToLeft.No, true, 0, 10 };
2051
yield return new object[] { Orientation.
Vertical
, RightToLeft.No, false, 0, 10 };
2052
yield return new object[] { Orientation.
Vertical
, RightToLeft.Inherit, true, 0, 10 };
2053
yield return new object[] { Orientation.
Vertical
, RightToLeft.Inherit, false, 0, 10 };
2061
yield return new object[] { Orientation.
Vertical
, RightToLeft.Yes, true, 1, 9 };
2062
yield return new object[] { Orientation.
Vertical
, RightToLeft.Yes, false, 1, 9 };
2063
yield return new object[] { Orientation.
Vertical
, RightToLeft.No, true, 1, 9 };
2064
yield return new object[] { Orientation.
Vertical
, RightToLeft.No, false, 1, 9 };
2065
yield return new object[] { Orientation.
Vertical
, RightToLeft.Inherit, true, 1, 9 };
2066
yield return new object[] { Orientation.
Vertical
, RightToLeft.Inherit, false, 1, 9 };
2074
yield return new object[] { Orientation.
Vertical
, RightToLeft.Yes, true, 5, 5 };
2075
yield return new object[] { Orientation.
Vertical
, RightToLeft.Yes, false, 5, 5 };
2076
yield return new object[] { Orientation.
Vertical
, RightToLeft.No, true, 5, 5 };
2077
yield return new object[] { Orientation.
Vertical
, RightToLeft.No, false, 5, 5 };
2078
yield return new object[] { Orientation.
Vertical
, RightToLeft.Inherit, true, 5, 5 };
2079
yield return new object[] { Orientation.
Vertical
, RightToLeft.Inherit, false, 5, 5 };
2087
yield return new object[] { Orientation.
Vertical
, RightToLeft.Yes, true, 9, 1 };
2088
yield return new object[] { Orientation.
Vertical
, RightToLeft.Yes, false, 9, 1 };
2089
yield return new object[] { Orientation.
Vertical
, RightToLeft.No, true, 9, 1 };
2090
yield return new object[] { Orientation.
Vertical
, RightToLeft.No, false, 9, 1 };
2091
yield return new object[] { Orientation.
Vertical
, RightToLeft.Inherit, true, 9, 1 };
2092
yield return new object[] { Orientation.
Vertical
, RightToLeft.Inherit, false, 9, 1 };
2100
yield return new object[] { Orientation.
Vertical
, RightToLeft.Yes, true, 10, 0 };
2101
yield return new object[] { Orientation.
Vertical
, RightToLeft.Yes, false, 10, 0 };
2102
yield return new object[] { Orientation.
Vertical
, RightToLeft.No, true, 10, 0 };
2103
yield return new object[] { Orientation.
Vertical
, RightToLeft.No, false, 10, 0 };
2104
yield return new object[] { Orientation.
Vertical
, RightToLeft.Inherit, true, 10, 0 };
2105
yield return new object[] { Orientation.
Vertical
, RightToLeft.Inherit, false, 10, 0 };
2893
yield return new object[] { true, Orientation.
Vertical
, 0, 0, 104, s_dimension, specified, 104, s_dimension, 0, 0 };
2894
yield return new object[] { true, Orientation.
Vertical
, 0, 0, 0, 0, specified, 0, 0, 0, 1 };
2895
yield return new object[] { true, Orientation.
Vertical
, -1, -2, -3, -4, specified, -3, -4, 1, 1 };
2896
yield return new object[] { true, Orientation.
Vertical
, 1, 0, 0, 0, specified, 0, 0, 1, 1 };
2897
yield return new object[] { true, Orientation.
Vertical
, 0, 2, 0, 0, specified, 0, 0, 1, 1 };
2898
yield return new object[] { true, Orientation.
Vertical
, 1, 2, 0, 0, specified, 0, 0, 1, 1 };
2899
yield return new object[] { true, Orientation.
Vertical
, 0, 0, 1, 0, specified, 1, 0, 0, 1 };
2900
yield return new object[] { true, Orientation.
Vertical
, 0, 0, 0, 2, specified, 0, 2, 0, 1 };
2901
yield return new object[] { true, Orientation.
Vertical
, 0, 0, 1, 2, specified, 1, 2, 0, 1 };
2902
yield return new object[] { true, Orientation.
Vertical
, 1, 2, 30, 40, specified, 30, 40, 1, 1 };
2907
yield return new object[] { true, Orientation.
Vertical
, 0, 0, 104, s_dimension, specified, s_dimension, s_dimension, 0, 1 };
2908
yield return new object[] { true, Orientation.
Vertical
, 0, 0, 0, 0, specified, s_dimension, 0, 0, 1 };
2909
yield return new object[] { true, Orientation.
Vertical
, -1, -2, -3, -4, specified, s_dimension, -4, 1, 1 };
2910
yield return new object[] { true, Orientation.
Vertical
, 1, 0, 0, 0, specified, s_dimension, 0, 1, 1 };
2911
yield return new object[] { true, Orientation.
Vertical
, 0, 2, 0, 0, specified, s_dimension, 0, 1, 1 };
2912
yield return new object[] { true, Orientation.
Vertical
, 1, 2, 0, 0, specified, s_dimension, 0, 1, 1 };
2913
yield return new object[] { true, Orientation.
Vertical
, 0, 0, 1, 0, specified, s_dimension, 0, 0, 1 };
2914
yield return new object[] { true, Orientation.
Vertical
, 0, 0, 0, 2, specified, s_dimension, 2, 0, 1 };
2915
yield return new object[] { true, Orientation.
Vertical
, 0, 0, 1, 2, specified, s_dimension, 2, 0, 1 };
2916
yield return new object[] { true, Orientation.
Vertical
, 1, 2, 30, 40, specified, s_dimension, 40, 1, 1 };
WindowsFormsIntegration (5)
System\Windows\Integration\Convert.cs (4)
243
returnSize.Height /= ScaleFactor(scale.Y, Orientation.
Vertical
);
254
returnSize.Height /= ScaleFactor(scale.Y, Orientation.
Vertical
, dpiScaleY);
262
size.Height *= ScaleFactor(scale.Y, Orientation.
Vertical
);
270
size.Height *= ScaleFactor(scale.Y, Orientation.
Vertical
, dpiScaleY);
System\Windows\Integration\HostUtils.cs (1)
320
HostUtils.PixelsPerInch(Orientation.
Vertical
),
WinFormsControlsTest (1)
TrackBars.cs (1)
49
trackBar1.Orientation = Orientation.
Vertical
;