Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Slider   (RSS)

DiscreteSlider - Adding Functionality with a Simple Control Subclass

How do you prevent the Slider from returning "ugly" values, and get it to "snap" to only the values that you want, such as integers, or multiples of a certain step value such as 0.125? One way to do this is to override OnValueChanged, but it helps to
Posted by Dave Relyea | 2 Comments
 
Page view tracker