Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit Slider Control with Tick Labels
3 replies. Latest Post by elmobond on April 12, 2009.
(3)
mwieder
Member
26 points
43 Posts
01-13-2009 12:33 PM |
How can I create a slider control which displays a label at each major step along the axis? I know the hack solution is just to create a separate row of textblocks, but that has issues of sizing and placement. The specific example is a map slider that has 4 steps, each one corresponding to a different specific zoom level - state, county, city and street.
thanks in advance for the help!
elmobond
4 points
2 Posts
04-10-2009 11:07 AM |
Good question. Telerik's RAD control suite has a slider control that seems to implement a lot of missing functionality from the out-of-box slider control has in Silverlight2.
I stumbled upon this thread in search of a similar solution. Basically I think we will have to play with SL's content template to try and get tick marks to appear and function appropriately in SL's slider control.
Hope this helps someone else thinking that SL's slider has tick marks, snap to tick/hard-stops, etc. out of the box via properties...it doesn't.
lee_sl
Contributor
2992 points
585 Posts
04-12-2009 4:52 AM |
you can find a sample in this post
http://leeontech.wordpress.com/2009/04/12/slider-with-ticks/
04-12-2009 9:29 AM |
Awesome, thanks!