Schedule View Group Width

2 posts, 0 answers
  1. Marc
    Marc avatar
    1 posts
    Member since:
    Feb 2014

    Posted 03 Sep 2014 Link to this post

    Hi,

    I followed the "GroupHeader template" example in the wpf demo. I would like to edit the categories default width. For exemple, with 3 categories, I would like the first two categories to take 50% of the space, and the last one the 50% remaining, instead of having 33% for each. I tried editing my template used for "GroupHeaderContentTemplateSelector" but it only changes the header width, not all the column width. Thank you in advance.

    Marc
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 03 Sep 2014 Link to this post

    Hi Marc,

    I am afraid that the Width of the GroupHeaders cannot be set to percentages - actually it depends on a few other things except the GroupHeaderContentTemplateSelector, such as the count of the intersecting appointments inside certain groups, and is calculated in the internal code of the ScheduleView. In the GroupHeaderContentTemplateSelector the set Width will be considered as a MinWidth.

    Regards,
    Yana
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top