In this article we will be seeing how to create Silverlight Slider control.
Slider Control is used to allow the user to select from a range of values by
moving the Thumb control.
Namespace: System.Windows.Controls
Assembly: System.Windows (in System.Windows.dll)
Xaml:
<Slider></Slider>
Slider with horizontal orientation:
By default the orientation property will be Horizontal.

<Canvas
Background="Orange"
Height="200"
Width="200"
Opacity="0.6">
<Slider
x:Name="slider"
Background="Green"
Height="25"
Width="150"
Canvas.Left="27"
Canvas.Top="84"
>
</Slider>
</Canvas>
Slider with vertical orientation:

<Canvas
Background="Orange"
Height="200"
Width="200"
Opacity="0.6">
<Slider
x:Name="slider"
Background="Green"
Height="150"
Width="25"
Canvas.Left="87"
Canvas.Top="24"
Orientation="Vertical">
</Slider>





Join the conversation! Your thoughts help the community grow.