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

Height of SummaryContainer

1 Answer 62 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Daniel Knoll
Top achievements
Rank 1
Daniel Knoll asked on 27 Sep 2013, 08:48 AM
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...

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 02 Oct 2013, 08:38 AM
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 >>
Tags
GanttView
Asked by
Daniel Knoll
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or