This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, In the samples and on the website, I don't see anywhere showing labels for the dual slider, i.e. if my slider goes from 1-10 and has 10 tick marks, I'd like to show the numbers 1-10 above (or below) the tick marks, or maybe just show 2,4,6,8, etc. Is this possible with the dual slider? I'm using WpfElements6Professional-20131111 Thanks! |
|
|
Hello Leah The DualSlider did not previously have support for displaying labels. I've added this in now for the next nightly build. (available in about 12 hours from now). Once this is available, you'll be able to grab this from your account page: http://www.mindscapehq.com/store/myaccount Displaying labels works similar to tick marks - set one or both of the new properties (ShowTopLeftLabels, ShowBottomRightLabels) to true. I've made the labels for the DualSlider work similar to labels on an axis. By default there will be 1 label displayed per tick mark. You can adjust this by setting the new LabelStep property. By default this is 1, so if you set this to 2, every 2nd label will be displayed, starting from the very left (or top) of the slider track. To customize the labels, you can set the new LabelTemplate property. The data context of the template is the number to display in the label. Jason Fauchelle |
|
|
Perfect, exactly what I wanted, and fast as lightning response as usual. THANKS! |
|