New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents the basic class that supports creating functions that provide statistical information about a set of items.

Definition

Namespace:Telerik.Web.Data

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public abstract class AggregateFunction

Inheritance: objectAggregateFunction

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
protected AggregateFunction()

Properties

Gets or sets the informative message to display as an illustration of the aggregate function.

C#
public string Caption { get; set; }
Property Value:

The caption to display as an illustration of the aggregate function.

Gets or sets the name of the aggregate function, which appears as a property of the group record on which records the function works.

C#
public virtual string FunctionName { get; set; }
Property Value:

The name of the function as visible from the group record.

Gets or sets a string that is used to format the result value.

C#
public virtual string ResultFormatString { get; set; }
Property Value:

The format string.

Methods

Creates the aggregate expression that is used for constructing expression tree that will calculate the aggregate result.

C#
public abstract Expression CreateAggregateExpression(Expression enumerableExpression)
Parameters:enumerableExpressionExpression

The grouping expression.

Returns:

Expression

Generates default name for this function using this type's name.

C#
protected virtual string GenerateFunctionName()
Returns:

string

Function name generated with the following pattern: {GetType().Name}_{GetHashCode()}