Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SortingSummaryFunction Enum

Lists the summary functions available for sorting groups by summary results.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public enum SortingSummaryFunction

#Members

Name Description
Avg

Calculates the average of all the values within the group.

Count

Counts the number of values within the group.

Sum

Calculates the total of all the values within the group.

Max

Calculates the maximum of all the values within the group.

Min

Calculates the minimum of all the values within the group.

Median

Finds the middle number within a sequence.

Note that if the total number of elements is odd, this function returns the value of a middle number in a sequence. If the total number of elements is even, this function returns the arithmetical mean of the two middle numbers.

Var

Calculates the amount of variance for all the values within the group.

VarP

Calculates the population variance of all the values within the group.

StdDev

Calculates the standard deviation of all the values within the group.

StdDevP

Calculates the standard population deviation of all the values within the group.

DAvg

Calculates the average of all the distinct values within the group.

DCount

Counts the number of distinct values within the group.

DSum

Calculates the total of all the distinct values within the group.

DVar

Calculates the amount of variance for all the distinct values within the group.

DVarP

Calculates the population variance of all the distinct values within the group.

DStdDev

Calculates the standard deviation of all the distinct values within the group.

DStdDevP

Calculates the standard population deviation of all the distinct values within the group.

Custom

Calculates the custom summary using the GroupHeaderBand.SortingSummaryReset, GroupHeaderBand.SortingSummaryRowChanged and GroupHeaderBand.SortingSummaryGetResult events.

#Related API Members

The following properties accept/return SortingSummaryFunction values:

#Remarks

The values listed by the SortingSummaryFunction enumeration are used to set the XRGroupSortingSummary.Function property.

See Also