Back to Devexpress

GridControl.GroupSummaryGeneratorTemplate Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-8643b8c3.md

latest2.0 KB
Original Source

GridControl.GroupSummaryGeneratorTemplate Property

Gets or sets a template that describes group summaries. 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 GroupSummaryGeneratorTemplate { get; set; }
vb
Public Property GroupSummaryGeneratorTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

The summary item template.

|

Remarks

You can define group summaries in a ViewModel and display them in the GridControl. To do this, follow the steps below:

  1. Create a collection of group summaries in a ViewModel.

  2. Specify a data template that generates summaries:

  3. Assign the group summary collection to the GroupSummarySource property and the summary template to the GroupSummaryGeneratorTemplate property:

Refer to the following help topic for more information: How to: Bind the Grid to Total and Group Summaries.

See Also

TotalSummaryGeneratorTemplate

GridControl Class

GridControl Members

DevExpress.Xpf.Grid Namespace