Skip to main content

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