25 writes to Orientation
System.Windows.Forms.Tests (23)
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (1)
484Orientation = orientation,
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (1)
381Orientation = orientation,
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (1)
382Orientation = orientation,
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarThumbAccessibleObjectTests.cs (1)
244Orientation = orientation,
TrackBarTests.cs (19)
168Orientation = orientation 259Orientation = Orientation.Vertical 348Orientation = Orientation.Vertical 818Orientation = Orientation.Vertical, 862Orientation = orientation 1312Orientation = value 1321control.Orientation = value; 1344Orientation = Orientation.Vertical 1347control.Orientation = value; 1355control.Orientation = value; 1387control.Orientation = value; 1398control.Orientation = value; 1424Orientation = Orientation.Vertical 1434control.Orientation = value; 1445control.Orientation = value; 1461Assert.Throws<InvalidEnumArgumentException>("value", () => control.Orientation = value); 1987Orientation = orientation, 2114Orientation = orientation, 2927Orientation = orientation
WinFormsControlsTest (2)
TrackBars.cs (2)
42trackBar1.Orientation = Orientation.Horizontal; 49trackBar1.Orientation = Orientation.Vertical;
17 references to Orientation
System.Windows.Forms (6)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (2)
786int maxTickCount = (Orientation == Orientation.Horizontal ? Size.Width : Size.Height) / 2; 1146int size = Orientation == Orientation.Horizontal ? Size.Width : Size.Height;
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarFirstButtonAccessibleObject.cs (2)
23: owner.Orientation == Orientation.Horizontal && (owner.RightToLeft == RightToLeft.No || parent.IsMirrored) 41return owner.Orientation == Orientation.Vertical || parent.RTLLayoutDisabled
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarLastButtonAccessibleObject.cs (2)
23: owner.Orientation == Orientation.Horizontal && (owner.RightToLeft == RightToLeft.No || parent.IsMirrored) 50return owner.Orientation == Orientation.Vertical || parent.RTLLayoutDisabled
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TrackBarDesigner.cs (1)
24var orientation = GetPropertyValue<Orientation?>(Component, nameof(TrackBar.Orientation)) ?? Orientation.Horizontal;
System.Windows.Forms.Tests (9)
TrackBarTests.cs (9)
82Assert.Equal(Orientation.Horizontal, control.Orientation); 1314Assert.Equal(value, control.Orientation); 1322Assert.Equal(value, control.Orientation); 1348Assert.Equal(value, control.Orientation); 1356Assert.Equal(value, control.Orientation); 1388Assert.Equal(value, control.Orientation); 1399Assert.Equal(value, control.Orientation); 1435Assert.Equal(value, control.Orientation); 1446Assert.Equal(value, control.Orientation);
WinFormsControlsTest (1)
TrackBars.cs (1)
25if (trackBar1.Orientation == Orientation.Horizontal)