Skip to main content

DataGridView.GroupSummaryTemplate Property

Gets or sets the template that defines the visual representation of summary items displayed within group rows. This is a bindable property.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public DataTemplate GroupSummaryTemplate { get; set; }

Property Value

Type Description
DataTemplate

A template for group summaries.

Remarks

When data is grouped, the grid displays group rows to separate groups of data rows. End users can tap group rows to expand and collapse groups.

A group row displays the following elements:

  • Collapse Icon - Indicates whether the group is collapsed or expanded.
  • Grouping Column - A caption of a column by whose values data is grouped.
  • Group Row Value - A data value for which the group is created.
  • Group Summary - A group summary value.

Grid Group Rows

The following properties allow you to set custom templates that specify the presentation of a group row and its elements:

  • GridColumn.GroupCaptionTemplate - a template for captions of group rows that the grid shows when data is grouped by a particular column. In the default structure, a group row caption includes a column caption and data value.
    DataGridView.GroupCaptionTemplate - a caption template that the grid should apply to group rows regardless of a column used to group data.
  • DataGridView.GroupSummaryTemplate - a template for group row summaries.
  • DataGridView.GroupRowTemplate - a template that replaces the default visual structure of the whole group row.

The GroupRowData class specifies the binding context for these templates.

See Also