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