The requested page is not available for the requested platform. You are viewing the content for Default platform.

GroupHeaderBand.SortingSummaryGetResult Event

Occurs when a summary gets its final value.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

Declaration

public event GroupSortingSummaryGetResultEventHandler SortingSummaryGetResult
Public Event SortingSummaryGetResult As GroupSortingSummaryGetResultEventHandler

Event Data

The SortingSummaryGetResult event handler receives an argument of the GroupSortingSummaryGetResultEventArgs type. 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