Articles in this section
Category / Section

How to set the orientation of the WinForms TrackBarEx?

Orientation

The TrackBarEx can be appear in Horizontal or vertical orientation. To do this, set the Orientation property of the TrackBarEx.

C#

//Sets the TrackBarEx in horizontal orientation
this.trackBarEx1.Orientation = Orientation.Horizontal;
//Sets the TrackBarEx in vertical orientation
this.trackBarEx1.Orientation = Orientation.Vertical;

VB

''Sets the TrackBarEx in horizontal orientation
Me.trackBarEx1.Orientation = Orientation.Horizontal
''Sets the TrackBarEx in vertical orientation
Me.trackBarEx1.Orientation = Orientation.Vertical

Reference link: https://help.syncfusion.com/windowsforms/trackbar/getting-started#horizontal-or-vertical-track-bar

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied