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

DataGrid GroupHeader Height

1 Answer 74 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Yuri
Top achievements
Rank 1
Yuri asked on 02 Apr 2015, 03:38 PM
Hello,

Is there any way to set the DataGrid GroupHeader Height, in XAML or programmatically?
I tried adding 

                            <telerikGrid:RadDataGrid.Resources>
                                <Style TargetType="telerikGridPrimitives:DataGridGroupHeader">
                                    <Setter Property="MinHeight" Value="10"/>
                                    <Setter Property="Height" Value="10"/>
                                </Style>
                            </telerikGrid:RadDataGrid.Resources>

but this doesn't appear to have any effect at all.

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 07 Apr 2015, 10:48 AM
Hi Yuri,

You can take advantage of the GroupHeaderStyle property. Here is an example:

<telerikGrid:RadDataGrid.GroupHeaderStyle>
    <Style TargetType="telerikGridPrimitives:DataGridGroupHeader">
        <Setter Property="Height" Value="100"></Setter>
    </Style>
</telerikGrid:RadDataGrid.GroupHeaderStyle>


Best regards,
Ves
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
DataGrid
Asked by
Yuri
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or