Height of SummaryContainer

2 posts, 0 answers
  1. Daniel Grünberger
    Daniel Grünberger avatar
    46 posts
    Member since:
    May 2008

    Posted 27 Sep 2013 Link to this post

    Hi,

    how can I change the height of a SummaryContainer in the GanttView?

    I've tried using the following code:
    <telerik:RadGanttView.Resources>
        <Style TargetType="telerik:SummaryContainer">
            <Setter Property="Height" Value="30" />
        </Style>
    </telerik:RadGanttView.Resources>

    But this does not change the height of the Summary tasks!

    Setting the height works when applying it to the EventContainer Style...
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 02 Oct 2013 Link to this post

    Hello,

    By design the Height of the SummaryContainer is set to a specific value because the Template of the container has a specific design that doesn't allow a dynamic setting of the height. If you want to change the height of that container you will need to customize the elements in the SummaryContainerTemplate.

    I created a sample project for you that shows how to setup the template for customizations, hope this is helpful.

    Regards,
    Vladi
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    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. DevCraft banner
Back to Top