Answered by:

Is it possible to animate the Thumb element of a slider

Question

I've created a custom style for my sliders to match my applications behavior and appearance, that's all working fine. Now what I want to do is perform some animation on the slider's thumb to change the background when the value of the slider reaches the
center point. The only way I can think of doing this is in the ValueChanged event handler. The problem is that the Thumb element in the slider style is not exposed as a property of the slider, so I have no direct access to it. How would I accomplish this?
Would I need to create a whole new custom control based on the Slider class and expose the Thumb as a property, or is there a way to do this through templating?