XRLabel.SummaryGetResult Event

Occurs when a summary gets its final value.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.1.dll

Syntax

public event SummaryGetResultHandler SummaryGetResult

The event handler receives an argument of the SummaryGetResultHandler type.

The SummaryGetResult event can, for instance, occur before a label is printed. The event handler method gets the accumulatedValues parameter which represents an array of summary values that have been accumulated from the last time the XRLabel.SummaryReset event was raised. To calculate a custom summary the XRSummary.Func property should be set to SummaryFunc.Custom. Then the custom summary events will occur in the following order:

To learn more about this event see the Calculating Custom Summaries via Scripts topic.