wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-7a437c8c.md
Gets or sets the source from which the grid generates group summary items. This is a dependency property.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public IEnumerable GroupSummarySource { get; set; }
Public Property GroupSummarySource As IEnumerable
| Type | Description |
|---|---|
| IEnumerable |
The source from which the grid generates group summary items.
|
You can define group summaries in a ViewModel and display them in the GridControl. To do this, follow the steps below:
Create a collection of group summaries in a ViewModel.
Specify a data template that generates summaries:
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