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
160
custom style for GroupByArea
posted

I am trying to create a custom style for GroupByArea in XamDataGrid. There is a very good example for this in the feature browser. However this example does not indicate how to display the horizontal bar on the top of XamDataGrid which hides/displays the GroupByArea content.

Parents
  • 69686
    Suggested Answer
    posted

    Hello,

    This is controlled by the ExpanderBar element inside the GroupByArea template. In order to have the expander at the botton, you have to retemplate the GroupByArea element. You can find the default xaml files in the DefaultStyles directory in the Infragistics folder. You can use that style as a base for your own and change the Grid.Row property of the ExpanderBar element like this;

     <igWindows:ExpanderBar

    x:Name="ExpanderBarButton"

    Grid.Row="1"

    Height="10"

    Command="{x:Static igDP:GroupByArea.ToggleExpandedState}"/>

    Hope this helps.

Reply Children