WPF and Silverlight Edition Basic Library / RangeSlider / RangeSlider Features / Orientation
Orientation

C1RangeSlider includes the ability to orient the control either horizontally or vertically using the Orientation property. By default the control initially appears with a horizontal orientation when added to the application, as in the following image:

You can easily change the orientation from the Properties window, in XAML, and in code using the Orientation property:

To set the Orientation property to Vertical add Orientation="Vertical" to the <c1:C1RangeSlider> tag so that it appears similar to the following:

XAML
Copy Code
<c1:C1RangeSlider Name="C1RangeSlider1" Width="26" Orientation="Vertical" />

Run the application and observe:

The C1RangeSlider control will be shown vertically: