Changing the Location of the GroupByArea

Glossary Item Box

Infragistics(R) NetAdvantage(R) for WPF

Changing the Location of the GroupByArea

The xamDataPresenter™ control displays the GroupByArea above the data by default. You can change the location of the GroupByArea by setting the GroupByAreaLocation property.

The following procedure assumes you have a data bound xamDataPresenter, and you want to relocate the GroupByArea. For more information, see Creating xamDataPresenter in XAML.

  1. The following XAML creates an instance of XamDataPresenter and names it. The XAML then sets the GroupByAreaLocation property to BelowDataArea.

    In XAML:

    <igDP:XamDataPresenter x:Name="XamDataPresenter1" 
      ...
      GroupByAreaLocation="BelowDataArea"/>
    

  2. Build and run the project. You'll notice the group-by area bar at the bottom, and if you expand it you will see something similar to the image below.

E-mail your feedback on this topic.

Opinion about our help? Take our survey.

Copyright © 2003-2007 Infragistics, Inc. All rights reserved.

Build Version: 7.1.20071.1320