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