corelibraries-devexpress-dot-mvvm-dot-xpf-dot-summaryargs.md
Gets the calculation stage.
Namespace : DevExpress.Mvvm.Xpf
Assembly : DevExpress.Mvvm.v25.2.dll
NuGet Packages : DevExpress.Mvvm, DevExpress.Win.Navigation
public SummaryProcess SummaryProcess { get; }
Public ReadOnly Property SummaryProcess As SummaryProcess
| Type | Description |
|---|---|
| DevExpress.Mvvm.Xpf.SummaryProcess |
The calculation stage.
|
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.
wpf-data-grid-summarize-empty-cells/CS/CustomSummary_EmptyCells_MVVM/MainViewModel.cs#L28
return;
if(args.SummaryProcess == SummaryProcess.Start) {
args.TotalValue = 0;
wpf-tree-list-calculate-custom-node-summaries/CS/CustomNodeSummaries_MVVM/MainViewModel.cs#L31
if(args.IsNodeSummary && args.SummaryItem.PropertyName == nameof(Employee.Statistics)) {
if(args.SummaryProcess == SummaryProcess.Calculate) {
args.TotalValue = Convert.ToDouble(args.TotalValue) + (double)args.FieldValue;
wpf-data-grid-summarize-empty-cells/VB/CustomSummary_EmptyCells_MVVM/MainViewModel.vb#L33
If Not Equals(args.SummaryItem.PropertyName, "Number") Then Return
If args.SummaryProcess = SummaryProcess.Start Then
args.TotalValue = 0
wpf-tree-list-calculate-custom-node-summaries/VB/CustomNodeSummaries_MVVM/MainViewModel.vb#L37
If args.IsNodeSummary AndAlso Equals(args.SummaryItem.PropertyName, NameOf(Employee.Statistics)) Then
If args.SummaryProcess = SummaryProcess.Calculate Then
args.TotalValue = Convert.ToDouble(args.TotalValue) + CDbl(args.FieldValue)
See Also