You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

GridControl.GroupSummary Property

Gets a collection of group summary items.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.dll


public GridSummaryItemCollection GroupSummary { get; }
Public ReadOnly Property GroupSummary As GridSummaryItemCollection

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