Back to Devexpress

SortingSummaryFunction Enum

xtrareports-devexpress-dot-xtrareports-dot-ui-b2fb9c4e.md

latest3.6 KB
Original Source

SortingSummaryFunction Enum

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

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public enum SortingSummaryFunction
vb
Public Enum SortingSummaryFunction

Members

NameDescription
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.

|

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

Sort Groups by the Result of a Summary Function

DevExpress.XtraReports.UI Namespace