Edit this page

Getting Started

This tutorial will walk you through the creation of a sample application that contains a RadSlider.

Assembly References

In order to use the RadSlider control in your projects, you have to add references to the following assemblies:

  • Telerik.Windows.Controls

Adding RadSlider to the Project

You can add RadSlider in XAML or in code as demonstrated in examples 1 and 2 respectively.

In order to use the RadSlider control, you need to declare the following namespace: xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

Example 1: Adding RadSlider in XAML

<telerik:RadSlider Value="5" Minimum="0" SmallChange="1" Maximum="100"/>

Example 2: Adding RadSlider in code

RadSlider slider = new RadSlider();
slider.Maximum = 100;
slider.Minimum = 0;
slider.Value = 5;
slider.SmallChange = 1;
Dim slider As New RadSlider()
slider.Maximum = 100
slider.Minimum = 0
slider.Value = 5
slider.SmallChange = 1

Figure 1: Result from Examples 1 and 2

RadSlider

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy