Blog

Slider Control In WPF

Posted by Mahak Gupta Blogs | WPF Jan 07, 2012
Normally we use the high precision values for high range.But if we want to set it in integer, we should set the IsSnapToTickEnabled to true.
Normally we use the high precision values for high range.But if we want to set it in integer, we should set the IsSnapToTickEnabled to true.

<Grid>
        <Slider Minimum="0"
        Maximum="50"
        IsSnapToTickEnabled="True"
        TickFrequency="5"></Slider>
    </Grid>

11.png 
   12.png

COMMENT USING
PREMIUM SPONSORS
Hire Mobile & Web Developer on demand. 100% satisfaction. Try for 1 week or Money Back. Local and remote developers available all over USA.
SPONSORED BY
  • MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.