The following code example shows how to set the Orientation property for a vertical slider.
|
<Slider Margin="0,5,0,20"
x:Name="slider3"
Minimum="0"
Maximum="10"
Height="100"
Orientation="Vertical"/>
|
|
<Slider Margin="0,5,0,20"
x:Name="slider3"
Minimum="0"
Maximum="10"
Height="100"
Orientation="Vertical"/>
|
Run this sample.