CustomSummaryEventArgs.TotalValueReady Property
Gets or sets whether the Calculation stage of the custom summary calculation process should be skipped.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.dll
NuGet Package: DevExpress.Maui.DataGrid
Declaration
public bool TotalValueReady { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
The process of custom summary calculation consists of three stages:
Initialization
The CustomSummary event is raised once with the SummaryProcess parameter set to Start.
Calculation
The CustomSummary event is raised multiple times - once for each data row in the group or in the whole column. The SummaryProcess property is set to Calculate.
Finalization
The CustomSummary event is raised once with the SummaryProcess parameter set to Finalize.
The TotalValueReady
property allows you to interrupt the process of summary calculation during the Start stage. You cannot interrupt the process in other stages. This can be useful if you need to calculate a custom summary during the Start or Finalization stage while skipping the time-consuming Calculation stage.
If the TotalValueReady
property is set to true
, the Calculation stage is skipped and the Finalization stage starts immediately.