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