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

post comment
     
COMMENT USING
PREMIUM SPONSORS
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Join a Chapter