XRLabel.SummaryReset Event
Occurs when the summary value needs to be set to its initial value when calculating a custom summary.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Event Data
The SummaryReset event's data class is EventArgs.
Remarks
The SummaryReset event occurs when a new group begins (if the XRSummary.Running property value is set to SummaryRunning.Group).
To calculate a custom summary, the XRSummary.Func property should be set to SummaryFunc.Custom.
The custom summary events occur in the following order:
XRLabel.SummaryReset
- XRLabel.SummaryRowChanged
- XRLabel.SummaryGetResult
Note
With Expressions Bindings, calculation of custom summaries is no longer available. You are encouraged to write a custom expression with operators, functions, and constants, as described in the following help topic: Expression Language. For additional examples refer to the following help section: Calculate Summaries.