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

timerulerlinestyle style the line bolder per hour?

3 Answers 27 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Spurk
Top achievements
Rank 1
Spurk asked on 28 Sep 2013, 08:13 PM
Is it possible to make the timerulerlinestyle create a thicker line on the hour for greater visual clarity on the scheduler?  See attached grab for example

3 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 02 Oct 2013, 10:39 AM
Hello Sheldon,

Yes, you can achieve the desired appearance by using a custom TimeRulerItemStyleSelector which can applies different custom styles for the TimeRulerLines for the different ViewDefinitions. For your convenience we have prepared and attached a sample project which demonstrates the exact approach for setting thicker MajorTicks in TimelineViewDefinition (please note we have used Implicit Styles to styles the controls).

Hope this helps.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Spurk
Top achievements
Rank 1
answered on 02 Oct 2013, 03:15 PM
Hello there,

Thank you for the sample project.  When I remove the .dll reference to office black and sub in the windows 8 theme dll, StaticResource TimeRulerLineStyle fails to resolve.  Switching it back to office_black corrects this.  We wish to use the Windows 8 theme. Please advise.
0
Kalin
Telerik team
answered on 03 Oct 2013, 11:24 AM
Hello Sheldon,

If you need to change the Theme, first thing you need to do is to change the ResourceDictionary.MergedDictionaries Sources in the App.xaml file and after that you will have to extract the TimeRulerLine ControlTemplate from Windows8Theme. For your convenience I have modified the previous project in order to use the required theme.

Hope this will help you.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ScheduleView
Asked by
Spurk
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Spurk
Top achievements
Rank 1
Share this question
or