Hi Nicolas Bastin,
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. Modifying the range can be done via two additional properties -
SelectionStart and
SelectionEnd. However, when a selection range is enabled, there cannot be another thumb in the range.
RadSlider's properties -
LargeChange and
SmallChange allow you to define the amount of value that will be used as a
step-size. Setting
LargeChange, for example, will control how much the thumb will travel when the track is clicked.
SmallChange on the other hand is used when
RadSlider has its
handles visible. Clicking any of the handles will increase/decrease the value by the amount specified in
SmallChange.
The
TickFrequency property allows you to
place marks(ticks) along the track in a
uniform manner.
When the
IsSnapToTickEnabled property is set to
true and you drag the thumb, click the handles or simply click the track, then the thumb snaps to the nearest tick.
However, if you need to display ticks on every 4 units but still have a step-size of 1, what you can use is a
TickTemplateSelector. It allows you to define your own logic controlling how the ticks can be displayed.
I have prepared an example for you, demonstrating how to use the described properties to implement the scenario you described. Please take a look at it and let me know if you need more info.
Sincerely yours,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the
Telerik Public Issue Tracking system and vote to affect the priority of the items.