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

XRLabel.SummaryGetResult Event

Occurs when a summary gets its final value.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

Declaration

public event SummaryGetResultHandler SummaryGetResult
Public Event SummaryGetResult As SummaryGetResultHandler

Event Data

The SummaryGetResult event handler receives an argument of the SummaryGetResultEventArgs type. The following properties provide information specific to this event.

Property Description
CalculatedValues Returns a collection of values calculated using the summary function.
Handled Gets or sets a value indicating whether an event was handled. If it was handled, the custom summary value is assigned to the SummaryGetResultEventArgs.Result property.
Result Gets or sets the result of a custom summary calculation.

Remarks

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.

See Also