ComponentOne Input for WinForms
Using the C1Input Controls / C1Input Controls / C1RangeSlider Control Overview / C1Range Slider Features / Orientation
In This Topic
    Orientation
    In This Topic

    C1RangeSlider control can be displayed Horizontally or Vertically, using Orientation property. By default, the control is oriented horizontally.

    rangeslider

    You can easily change the orientation through Orientation property in Properties pane, or through code:

    To write code in Visual Basic

    Visual Basic
    Copy Code
    Me.c1RangeSlider1.Orientation = Orientation.Vertical
    

    To write code in C#

    C#
    Copy Code
    this.c1RangeSlider1.Orientation = Orientation.Vertical;
    

    verticalslider

    See Also