Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
380
Adjust GroupByArea height
posted

How can I adjust the height of the GroupByArea? I am trying to adjust the height of the GroupByArea. I saw the WPF feature sample on GroupByArea customization and also read the following forum articles

http://community.infragistics.com/forums/p/7704/51798.aspx

http://community.infragistics.com/forums/p/20495/73924.aspx

However, the customization samples only work if GroupByAreaMode="DefaultFieldLayoutOnly" It does not work for MultipleFieldLayoutsCompact or MultipleFieldLayoutsFull. Is this a known issue?

 

Also, I tried to set the label style like below. However, I don't see the colors set. Am I missing something?

        <igDP:XamDataGrid Grid.Row="1" Name="xamDataGrid1" IsGroupByAreaExpanded="True" BindToSampleData="True" >
            <igDP:XamDataGrid.GroupByAreaFieldLabelStyle>
                <Style TargetType="{x:Type igDP:GroupByAreaFieldLabel}">
                    <Setter Property="Background" Value="Red" />
                    <Setter Property="Foreground" Value="Green" />
                </Style>
            </igDP:XamDataGrid.GroupByAreaFieldLabelStyle>
        </igDP:XamDataGrid>

 

The version on the DataPresenter assembly is 9.2.20092.2001

Parents
  • 69686
    posted

    The following line should increate the height of the GroupByAreaMulti:

                xamDataGrid1.GroupByAreaMulti.Height = 500;

    However, the content of the group by area is no designed to stretch to its size. You can see that in the default template of the GroupByAreaMulti, which you can fin din the DefaultStyles directory in the Infragistics folder. If you want the content to stretch, you can modify the template and make it so.

Reply Children
No Data