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.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
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