Slider Control In WPF

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