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

GridViewColumnGroup header height

2 Answers 152 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Daryn
Top achievements
Rank 1
Daryn asked on 04 Jul 2012, 10:08 AM
Hi,
I have TreeListView control and two GridViewColumnGroup and I have to set those GridViewColumnGroup header height equals 22. I tried to set this value in the HeaderStyle for both of them, but just changed the GridViewColumnGroup header cell content height. I tried to set this value in the IndentPresenter.ItemTemplate, but nothing changed.
I attached the image... there are I setted GridViewColumn header height 22, but couldn't set the GridViewColumnGroup header height. Can you help me? Can you create the example project with the TreeListView where the GridViewColumnGroup header equals 22?

Kind regards,
Daryn

2 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 05 Jul 2012, 11:03 AM
Hello Daryn,

You can set Height for column groups in this way:

<Style TargetType="telerik:CommonColumnHeader">
            <Setter Property="Height" Value="22" />
        </Style>

Greetings,

Yordanka
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Bret
Top achievements
Rank 1
answered on 08 Aug 2012, 04:45 PM
For some reason setting the height on the CommonColumnHeader did not work.  But setting the height on the CommonHeaderPresenter did.

<Style TargetType="{x:Type telerik:CommonHeaderPresenter}" >
    <Setter Property="Height" Value="15"/>
</Style>
Tags
TreeListView
Asked by
Daryn
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Bret
Top achievements
Rank 1
Share this question
or