Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListCustomSummaryEventArgs.SummaryStage Property

Specifies a calculation stage.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public TreeListCustomSummaryStage SummaryStage { get; }

#Property Value

Type Description
TreeListCustomSummaryStage

An enumeration value.

Available values:

Name Description
Start

The CustomSummary event fires once at this stage before TreeList rows are processed. This allows you to initialize a summary value.

Calculate

The CustomSummary event fires for each data row in a TreeList. You can calculate a summary value at this stage.

Finalize

The CustomSummary event fires once at this stage after TreeList rows are processed. At this stage, you can finalize the summary calculation.

#Remarks

The summary calculation consists of three stages:

Initialization
The CustomSummary event fires once at this stage. The event’s SummaryStage property value is Start. Use this stage to initialize a summary value (for example, reset internal counters).
Calculation
The CustomSummary event fires for each data row in a TreeList. The event’s SummaryStage property value is Calculate. Use this stage to calculate a summary value.
Finalization
The CustomSummary event fires once at this stage. The event’s SummaryStage property value is Finalize. Use this stage to assign the calculated summary value to the TotalValue property.

You can interrupt summary calculations at any time. To do so, set the TotalValueReady event argument to true.

Refer to the DxTreeListSummaryItem and TreeListCustomSummaryEventArgs class descriptions for more information and examples.

See Also