label time intervals

2 posts, 0 answers
  1. g g
    g g avatar
    3 posts
    Member since:
    Dec 2002

    Posted 07 Oct 2013 Link to this post

    Hallo, 
    I need label time intervals. For example:

    06:00-13:00 is "SHIFT 1"
    14:00-18:00 is "SHIFT 2"
    and so on.

    Attached you can see an example.
    How can I develop something like that?

    Thanks
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 08 Oct 2013 Link to this post

    Hi,

    I can suggest you to create a custom TimeRulerItemStyleSelector and add a custom MajorHorizontalTimeRulerItemStyles in which you can modify the ControlTemplate in order to display a TextBlock with the required text. For your convenience I have created a custom project which demonstrates the explained approach above (please note that we have used Implicit Styles to style the project). For more information about Styling the TimeRulerItems you can check the following article from our online help documentation:
    http://www.telerik.com/help/wpf/radscheduleview-styles-and-templates-styling-timeruleritems.html

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top