Is there a way to show a tooltip with the value of the slider of the current position of the mouse over the track? So the user know the value is going to select beforehand.
The described functionality is not supported out of the box by RadSlider. However, you can implement it with additional code. Basically, you can subscribe for the MouseMove event and based on several factors - like track width, height, max value, min value and mouse position - calculate a prediction value that will be displayed in the tool tip.
public MainWindow()
{
InitializeComponent();
this.slider.Loaded += slider_Loaded;
this.slider.MouseMove += slider_MouseMove;
}
private ContentControl sliderTrack;
// Get the ContentControl that represents the track of the slider
For your convenience I prepared a sample project demonstrating this approach. Please give it a try and let me know if is useful.
Regards,
Martin
Telerik
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 Feedback Portal
and vote to affect the priority of the items