xtrareports-devexpress-dot-xtrareports-dot-ui-dot-groupheaderband-dd7a5372.md
Occurs when a summary gets its final value.
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
public event GroupSortingSummaryGetResultEventHandler SortingSummaryGetResult
Public Event SortingSummaryGetResult As GroupSortingSummaryGetResultEventHandler
The SortingSummaryGetResult event's data class is GroupSortingSummaryGetResultEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| CalculatedValues | Gets an array of values which can be used to calculate a custom summary. |
| Handled | Specifies whether or not the GroupHeaderBand.SortingSummaryGetResult event was handled. If so, the custom summary value is assigned to the GroupSortingSummaryGetResultEventArgs.Result property. |
| Result | Gets or sets the result of a custom summary for sorting groups. |
To calculate a custom summary for sorting groups, set the XRGroupSortingSummary.Function property to Custom. Then, the custom summary events will occur in the following order.
The GroupSortingSummaryGetResultEventArgs.CalculatedValues property returns an array of summary values that have been accumulated from the last time the GroupHeaderBand.SortingSummaryReset event was raised.
To learn more about these events, see Grouping and Sorting a Report’s Data and Calculating Custom Summaries via Scripts.
See Also
Group and Sort the Report Data