This is a migrated thread and some comments may be shown as answers.

Styling GroupHeader line

1 Answer 18 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Håkan
Top achievements
Rank 1
Håkan asked on 22 May 2013, 09:52 AM
Hi,

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.

Regards,
Håkan

1 Answer, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 28 May 2013, 09:29 AM
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.

Regards,
Yana
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Håkan
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or