RadSlider supports the functionality of having two thumbs, thus enabling range selection. To enable the selection range you have to set the IsSelectionRangeEnabled property to true.
CopyXAML
<telerik:RadSlider x:Name="slider" IsSelectionRangeEnabled="True" />
Modifying the range can be done either via the SelectionStart and SelectionEnd properties or through the Selection property.
- SelectionStart - sets the start of the selection range and is of type double
- SelectionEnd - sets the end of the selection range and is of type double
CopyXAML
<telerik:RadSlider x:Name="slider" IsSelectionRangeEnabled="True" SelectionStart="0.2" SelectionEnd="0.4" />
- Selection - is of type SelectionRange<double> and it sets Start and End double values to define the selection range
CopyC#
slider.Selection = new SelectionRange<double>(0.2,0.4);
CopyVB.NET
slider.Selection = New SelectionRange(Of Double)(0.2, 0.4)