GridViewColumnGroup header height

3 posts, 0 answers
  1. Daryn
    Daryn avatar
    6 posts
    Member since:
    Mar 2012

    Posted 04 Jul 2012 Link to this post

    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,
  2. Yordanka
    Yordanka avatar
    634 posts

    Posted 05 Jul 2012 Link to this post

    Hello Daryn,

    You can set Height for column groups in this way:

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


    the Telerik team

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

  3. Bret
    Bret avatar
    2 posts
    Member since:
    Jun 2012

    Posted 08 Aug 2012 Link to this post

    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"/>
Back to Top