Back to Devexpress

GroupHeaderBand.SortingSummaryGetResult Event

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-groupheaderband-dd7a5372.md

latest3.8 KB
Original Source

GroupHeaderBand.SortingSummaryGetResult Event

Occurs when a summary gets its final value.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public event GroupSortingSummaryGetResultEventHandler SortingSummaryGetResult
vb
Public Event SortingSummaryGetResult As GroupSortingSummaryGetResultEventHandler

Event Data

The SortingSummaryGetResult event's data class is GroupSortingSummaryGetResultEventArgs. The following properties provide information specific to this event:

PropertyDescription
CalculatedValuesGets an array of values which can be used to calculate a custom summary.
HandledSpecifies whether or not the GroupHeaderBand.SortingSummaryGetResult event was handled. If so, the custom summary value is assigned to the GroupSortingSummaryGetResultEventArgs.Result property.
ResultGets 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

Group and Sort the Report Data

Calculate Custom Summaries via Scripts

GroupHeaderBand Class

GroupHeaderBand Members

DevExpress.XtraReports.UI Namespace