SummaryItemType Enum
Lists values specifying the aggregate function types.
Namespace: DevExpress.Data
Assembly: DevExpress.Data.v18.1.dll
Declaration
[TypeConverter(typeof(SummaryItemTypeConverter))]
[ResourceFinder(typeof(ResFinder))]
public enum SummaryItemType
Members
Name | Description |
---|---|
Sum
|
The sum of all values in a column. |
Min
|
The minimum value in a column. |
Max
|
The maximum value in a column. |
Count
|
The record count. |
Average
|
The average value of a column. |
Custom
|
Specifies whether calculations should be performed manually using a specially designed event. |
None
|
Disables summary value calculation. |
Related API Members
The following properties accept/return SummaryItemType values:
Library | Related API Members |
---|---|
WinForms Controls | GridMenuItemClickEventArgs.SummaryType |
GridSummaryItem.SummaryType | |
SnapText.SummaryFunc | |
WPF Controls | SummaryItemBase.SummaryType |
ASP.NET Web Forms Controls | ASPxSummaryItemBase.SummaryType |
CardViewSummaryItemState.SummaryType | |
GridViewSummaryItemState.SummaryType | |
TreeListSummaryItem.SummaryType | |
VerticalGridSummaryItemState.SummaryType |
Remarks
Values listed in this enumeration are used to specify the aggregate function used to calculate summary values. These values can be assigned to the properties of objects that are representing summary items in a container control.
Average and Sum summaries are only calculated for columns that contain numerical data.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SummaryItemType enum.
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.