Back to Devexpress

TableView.GroupFooterSummaryItemTemplate Property

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-a9dc703c.md

latest2.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public DataTemplate GroupFooterSummaryItemTemplate { get; set; }
vb
Public Property GroupFooterSummaryItemTemplate As DataTemplate

Property Value

TypeDescription
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:

xaml
<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

GroupFooterSummaryItemTemplateSelector

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace