Back to Devexpress

XRLabel.SummaryReset Event

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrlabel-2df631fc.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public event EventHandler SummaryReset
vb
Public Event SummaryReset As EventHandler

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:

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.

See Also

Calculate Custom Summaries via Scripts

XRLabel Class

XRLabel Members

DevExpress.XtraReports.UI Namespace