I would like to use a slider that only allows round numbers. So for example, a slide from 0 to 10, that would only allow 0, 1, 2… values. Is it possible with the native control ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the Slider control. Set the Minimum and Maximum properties to 0 and 10, respectively. Then, set the SmallChange and LargeChange properties to whole values so that they can only increment in whole numbers. Presumably SmallChange will be
1.0in this case.