timerulerlinestyle style the line bolder per hour?

4 posts, 0 answers
  1. Spurk
    Spurk avatar
    40 posts
    Member since:
    Feb 2012

    Posted 28 Sep 2013 Link to this post

    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
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 02 Oct 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Spurk
    Spurk avatar
    40 posts
    Member since:
    Feb 2012

    Posted 02 Oct 2013 Link to this post

    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.
  5. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 03 Oct 2013 Link to this post

    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 >>
Back to Top