I have a Slider with two thumbs. Is there any solution to mark only the track between the two thumbs?
At the moment the whole track from the begin to the second slider is marked.
Hi Sebastian,
You could use property TrackfillStyle for each of the thumbs to change the presentation of each of thumbs. It is possible to change the style when specific Trackfill is selected.
I hope this can help :-)
Cheers!
Mihail
That's what I thought. But maybe you have a example? How I can create a other style or modifiy the existing style?
I'm not sure if this is still an open issue for you but I may have the answer you are looking for. You need to define a transparent trackfill for the first thumb and then the wanted trackfill for the second thumb. Something like this:
<ig:XamSliderNumericThumb InteractionMode="Lock" Value="-5" IsTrackFillVisible="True" TrackFillBrush="Transparent" /> <ig:XamSliderNumericThumb InteractionMode="Lock" Value="0" IsTrackFillVisible="True" TrackFillStyle="{StaticResource MyCustomTrackFillStyle}" />
I hope this helps you.
I do not think the solution works correct. I tried this but the Trackfill goes always till the Beginning of the Slider. Even if Trackfill is set false for the first thumb and true for the second one. I tried to accomplish the decribed layout but i did not get it to work. the only the Track between the two thumbs is displayed.
It would be great if someone could post a solution for that.