Skip to main content

GridControl.GroupSummary Property

Gets a collection of group summary items.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public GridSummaryItemCollection GroupSummary { get; }

Property Value

Type Description

A collection of group summary items.


When you group data against a column, the GridControl displays group summaries in group rows. To add a summary to the GridControl:

  1. Create a GridSummaryItem object and assign it to the GroupSummary collection.
  2. Specify the FieldName and SummaryType properties to apply the summary:
<dxg:GridControl AutoGenerateColumns="AddNew" ItemsSource="{Binding Customers}">
        <dxg:GridSummaryItem FieldName="Visits" SummaryType="Max"/>

The GridSummaryItem objects are summary items. The GroupSummary collection’s methods allow you to add, remove, and access summary items.

You can access a collection of total summary items with the GridControl.TotalSummary property.

See Also