Skip to main content
A newer version of this page is available. .

TableView.GroupFooterSummaryItemTemplate Property

Gets or sets the template that defines the appearance of group footer summary items. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.dll

Declaration

public DataTemplate GroupFooterSummaryItemTemplate { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object that defines the group footer rows’ appearance.

Remarks

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

The following code snippet uses the GroupFooterSummaryItemTemplate property to customize the GroupFooterSummaryItemTemplate’s appearance:

 <dxg:GridControl
    <dxg:GridControl.GroupSummary>
        <dxg:GridSummaryItem SummaryType="Sum" FieldName="UnitPrice" />
    </dxg:GridControl.GroupSummary>
    <dxg:GridControl.View>
        <dxg:TableView ShowGroupFooters="True">
            <dxg:TableView.GroupFooterSummaryItemTemplate>
                <DataTemplate>
                    <StackPanel Background="Bisque">
                        <TextBlock Text="{Binding Value}" Background="LightBlue"/>
                    </StackPanel>
                </DataTemplate>
            </dxg:TableView.GroupFooterSummaryItemTemplate>
        </dxg:TableView>
    </dxg:GridControl.View>
</dxg:GridControl>

See the Appearance Customization topic for more information.

See Also