locked
How to fix TickFrequency value for slider in Windows 8 Store Apps?

    Question

  • Hello Team,

    Please anyone help me!. How to fix slider TickFrequency value like (20,40,60,80,100). I have set the TickFrequency is 20 then its fine. but my requirement is i don't want to allow user to set value (2,3,4,5.... ).

    how to achieve this goal.

    Thanks 

    siva varri


    Thread response from msdn

    Tuesday, September 30, 2014 4:58 AM

Answers

  • Did you try the "SnapsTo" property set to "Ticks"?

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Tuesday, September 30, 2014 1:05 PM
    Moderator