Hide minor ticks

2 posts, 0 answers
  1. Håkan
    Håkan avatar
    183 posts
    Member since:
    May 2011

    Posted 30 Apr 2012 Link to this post


    I have changed the MinorTickLength to 5 minutes in DayView, but that generates so many vertical lines (TimeRuleItem).
    What is the easies way to hide them?

    Do I need to create a whole new MinorTickLineStyle and OrientedTimeRuleItemStyleSelector?

  2. Dani
    Dani avatar
    848 posts

    Posted 30 Apr 2012 Link to this post

    Hi Håkan,

    Yes, you need the TimeRulerItemStyleSelector to customize the look of the ticks. Change the BorderBrush of the MinorVerticalTimeRulerItemStyle and the TimeRulerLineStyle.

    Keep in mind that this will only change appearance. The actual slot size will stay the same. You can try entending it using  the MinTimeRulerExtent and MaxTimeRulerExtent properties. For example, MinTimeRulerExtent="4000".

    Hope this helps.

    All the best,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top