# Orientation

Learn about the orientation feature in Input control.

## Content



**[C1RangeSlider](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1RangeSlider.html)** control can be displayed Horizontally or Vertically, using [Orientation](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1RangeSlider.Orientation.html) property. By default, the control is oriented horizontally.

![rangeslider](https://cdn.mescius.io/document-site-files/images/6c2f30e9-4d3a-4f86-b649-ecbef777b3a3/images/horizontal_rangeslider.png)

You can easily change the orientation through [Orientation](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1RangeSlider.Orientation.html) property in Properties pane, or through code:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

```vbnet
Me.c1RangeSlider1.Orientation = Orientation.Vertical
```

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
this.c1RangeSlider1.Orientation = Orientation.Vertical;
```

DOC-DETAILS-TAG-CLOSE

![verticalslider](https://cdn.mescius.io/document-site-files/images/6c2f30e9-4d3a-4f86-b649-ecbef777b3a3/images/vertical_rangeslider.png)

## See Also

[Range and Thumb Values](/componentone/docs/win/online-input/usingthec1inputcontr/c1inputcontrols/C1RangeSliderControlOverview/C1RangeSliderFeatures/ThumbValuesandRange)