Skip to main content

GridViewBase.GroupSummaryItemTemplate Property

Gets or sets the template that defines the presentation of summary items displayed within group rows. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public DataTemplate GroupSummaryItemTemplate { get; set; }

Property Value

Type Description

A DataTemplate object defines the summary items’ style displayed within group rows.


The templates supplied by the DXGrid, allow you to completely replace the look and feel of visual elements while maintaining their existing behavior.

The GridGroupSummaryData class represents the GroupSummaryItemTemplate template’s binding source.

If the TableView.GroupSummaryDisplayMode property is set to GroupSummaryDisplayMode.AlignByColumns, use the TableView.GroupColumnSummaryContentStyle property to change the summary items’ appearance.

        <dxg:GridSummaryItem SummaryType="Sum" FieldName="UnitPrice" />
                    <StackPanel Orientation="Horizontal" Background="Bisque">
                        <TextBlock Text="Total Price: "/>
                        <TextBlock Text="{Binding Value}" Background="LightBlue"/>

See the Appearance Customization topic for more information.

See Also