DataGrid GroupHeader Height

2 posts, 0 answers
  1. Yuri
    Yuri avatar
    41 posts
    Member since:
    Mar 2013

    Posted 02 Apr 2015 Link to this post

    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.
  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 07 Apr 2015 Link to this post

    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.

     
Back to Top