Styling GroupHeader line

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

    Posted 22 May 2013 Link to this post


    In ScheduleView we use the TimelineViewDefinition to normally show one week.
    The user can select to display several weeks and I would like to get a thicker separator line between the weeks.
    See my attached image.

    As you can see it is grouped by week.

    I have tried to changed a couple of styles but I don't find the correct one.
    The closest I got was the TimeRulerLineStyle, but that affects all days not just the outer week-group.

  2. Answer
    Yana avatar
    4604 posts

    Posted 28 May 2013 Link to this post

    Hello Håkan,

    You are right that the TimeRulerLineStyle should be customized, however, in order to distinguish the needed lines, you should create a custom TimeRulerItemStyleSelector and add some additional logic in SelectStyle method. I have attached a sample project which demonstrates the approach, please download it and give it a try. Note that I've also customized the MajorHorizontalTimeRulerItemStyle in order to style the ticks in the TimeRuler as well.

    I hope this is helpful.


    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top