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.v20.2.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core
Declaration
Event Data
The SummaryReset event's data class is EventArgs.
Remarks
The SummaryReset event can, for instance, occur 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. Then the custom summary events will occur in the following order:
XRLabel.SummaryReset
- XRLabel.SummaryRowChanged
- XRLabel.SummaryGetResult
To learn more about this event see the Calculating Custom Summaries via Scripts topic.