I'm developing against the Microsoft Surface, and need a slider that is easy to adjust just by touching the screen, the default slider (any theme) is pretty narrow and it's area of recognition is a little too small/exact to be touch-friendly, is there an easy way to make a horizontal slider thicker/taller? It works fine for mouse but with just touch the user misses the area of sensitivity on the first try (most of the time) and has to try again. We want to make the slider easier to manipulate.
6 Answers, 1 is accepted
You can achieve the desired result by specifying custom styles as the ThumbStyle and/or TrackStyle of the RadSlider control.
I've also prepared a small sample project as a demonstration.
Please let me know if this is what you have in mind or if I've misunderstood your requirement.
How can achieve the same behavior when using the NuGet package of your product (https://nuget.telerik.com/nuget)? The `BasedOn` part is throwing because the style is not available. If I remove the `BasedOn` then I end up with a totally broken style.
Please have a look at the Setting a Theme and Styling the Controls articles to get an understanding of why this error is observed.
You either need to switch to the NoXaml NuGet package or include the required styles and resources to get the desired result.
Please let me know if you need any further assistance in the process.
I have tried switching over but the window is no longer showing-up:
1. I have switched over to the NoXaml packages and I have added a reference to the following package `Telerik.Windows.Themes.Fluent.for.Wpf`.
2. I have commented the following lines of code:
3. I have updated my `App.xaml` from
And running the app gives me no window.
Ok I managed to fix it thanks to this post: https://www.telerik.com/forums/radwindow-not-showing
It'd be nice if the documentation page could be updated.
I'm glad to hear that you've managed to successfully display the window.
As for your feedback regarding our documentation, please note that the Using RadWindow with NoXaml assemblies section of the control's Getting Started page documents this requirement. If you feel, however, that this should be stated in another article, please let me know.