Tick margins

2 posts, 1 answers
  1. Marcelo
    Marcelo avatar
    17 posts
    Member since:
    Oct 2009

    Posted 18 Mar 2010 Link to this post

    Is it possible to set a margin for the last and first ticks that appears on the slider?
    In the example giving at http://blogs.telerik.com/KirilStanoev/Posts/08-07-24/Using_ValueConverter_to_edit_Slider_s_TickTemplate.aspx?ReturnURL=%2fKirilStanoev%2fPosts.aspx
    January and December do not have left and right margins, respectively. I do not want the first and last words to go beyond their ticks. What I want is the letter "J" of January to go right above its tick and so for the letter "R" of December.

    I would also like to give the selected tick more visibility when selected. So I was wondering if it is possible to highlight or to maximize the tick when selected.
  2. Answer
    Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 23 Mar 2010 Link to this post

    Hello Marcelo,

    Thank you for contacting us.

    "What I want is the letter "J" of January to go right above its tick and so for the letter "R" of December.
    "
    This scenario is not supported out of the box and to achieve it you will need to use a template selector for the ticks. You will also have to give the first and last tick margins so that they align as you wish. I've prepared a small project demonstrating this functionality. Have a look at it and let me know if something is unclear.

    I would also like to give the selected tick more visibility when selected. So I was wondering if it is possible to highlight or to maximize the tick when selected.
    This scenario is not yet supported. I've logged your request in our PITS and we will definitely consider it when implementing new features for RadSlider. The log item is called "Slider: Notification when reaching a tick" and it will be available for tracking tomorrow the latest.

    Let us know if you have additional questions or comments on the topic.

    Kind regards,
    Kiril Stanoev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top