Slider Control In WPF

By Mahak Gupta 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

Mahak Gupta

My name is Mahak Gupta. I am a C# Corner MVP.

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.

Latest Blogs