New to Telerik UI for WinForms? Start a free 30-day trial

Selects the built-in aggregate applied to a field in a grid summary or grouping expression.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public enum GridAggregateFunction

Fields

Calculates the average field value across the evaluated rows.

C#
Avg = 7

Counts every row in the evaluated group or summary range, including rows whose field value is null.

C#
Count = 6

Returns the first field value in the evaluated group or summary range.

C#
First = 5

Returns the last field value in the evaluated group or summary range.

C#
Last = 4

Returns the largest field value in the evaluated group or summary range.

C#
Max = 3

Returns the smallest field value in the evaluated group or summary range.

C#
Min = 2

Leaves the field without a built-in aggregate; a summary item can instead use its custom aggregate expression.

C#
None = 0

Calculates the standard deviation of field values in the evaluated rows.

C#
StDev = 8

Adds the field values across the evaluated group or summary range.

C#
Sum = 1

Calculates the variance of field values in the evaluated rows.

C#
Var = 9