Read original post by Martin Tirion at Microsoft User Experience Blog
I came across a project where a slider control was needed that snapped to specific values. More than that, the value of the control also should reflect that. I came across the solution of Dave Relyea where he created a subclass of the Slider where OnValueChanged was overridden.