corelibraries-devexpress-dot-data-dot-customsummaryeventargs-92ff3082.md
Gets a value indicating calculation stage.
Namespace : DevExpress.Data
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public CustomSummaryProcess SummaryProcess { get; }
Public ReadOnly Property SummaryProcess As CustomSummaryProcess
| Type | Description |
|---|---|
| CustomSummaryProcess |
A CustomSummaryProcess enumeration value indicating calculation stage.
|
Available values:
| Name | Description |
|---|---|
| Start |
Indicates that the process of custom summary calculation is about to be started.
| | Calculate |
Indicates that custom summary calculation is in progress. This means the event is raised for a specific data row containing the field value used to calculate the processed custom summary.
| | Finalize |
Indicates that the process of custom summary calculation is finished.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the SummaryProcess property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-grid-customize-footer-menu-calculate-custom-totals/CS/Form1.cs#L78
{
if (e.SummaryProcess == DevExpress.Data.CustomSummaryProcess.Start)
validRowCount = 0;
wpf-data-grid-summarize-empty-cells/CS/CustomSummary_EmptyCells_CodeBehind/MainWindow.xaml.cs#L36
return;
if(e.SummaryProcess == CustomSummaryProcess.Start) {
e.TotalValue = 0;
winforms-grid-customize-footer-menu-calculate-custom-totals/VB/Form1.vb#L68
If Equals("Count", item.Tag) Then
If e.SummaryProcess = DevExpress.Data.CustomSummaryProcess.Start Then validRowCount = 0
If e.SummaryProcess = DevExpress.Data.CustomSummaryProcess.Calculate Then
wpf-data-grid-summarize-empty-cells/VB/CustomSummary_EmptyCells_CodeBehind/MainWindow.xaml.vb#L31
If Not Equals(CType(e.Item, GridSummaryItem).FieldName, "Number") Then Return
If e.SummaryProcess = CustomSummaryProcess.Start Then
e.TotalValue = 0
See Also