blazor-devexpress-dot-blazor-dot-gridcustomdatasourcesummaryinfo.md
Specifies the aggregation function of a summary item.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public GridSummaryItemType SummaryType { get; }
| Type | Description |
|---|---|
| GridSummaryItemType |
A GridSummaryItemType value that specifies the aggregation function of a summary item.
|
Available values:
| Name | Description |
|---|---|
| Sum |
Calculates the sum of all values in a column.
| | Min |
Calculates the minimum value of all values in a column.
| | Max |
Calculates the maximum value of all values in a column.
| | Count |
Calculates the number of values in a column.
| | Avg |
Calculates the average of all values in a column.
| | Custom |
Uses a custom algorithm to calculate a summary value.
| | None |
Does not calculates a summary value.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SummaryType 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.
blazor-grid-custom-datasource-with-ef-core/CS/CustomDataSource/Services/OrdersDataSource.cs#L198
switch (summaryInfo.SummaryType) {
case GridSummaryItemType.Avg:
See Also
GridCustomDataSourceSummaryInfo Class