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

Hide minor ticks

1 Answer 56 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 30 Apr 2012, 07:30 AM
Hi,

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?

Regards,
Håkan

1 Answer, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 30 Apr 2012, 10:11 AM
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,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ScheduleView
Asked by
Håkan
Top achievements
Rank 1
Answers by
Dani
Telerik team
Share this question
or