Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GroupHeaderBand.SortingSummaryGetResult Event

Occurs when a summary gets its final value.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public event GroupSortingSummaryGetResultEventHandler SortingSummaryGetResult

#Event Data

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.

#Remarks

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