AggregateFunction
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:
public abstract class AggregateFunction
Inheritance: objectAggregateFunction
Inherited Members
Constructors
protected AggregateFunction()
Properties
Gets or sets the informative message to display as an illustration of the aggregate function.
public string Caption { get; set; }
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.
public virtual string FunctionName { get; set; }
The name of the function as visible from the group record.
Gets or sets a string that is used to format the result value.
public virtual string ResultFormatString { get; set; }
The format string.
Methods
Creates the aggregate expression that is used for constructing expression tree that will calculate the aggregate result.
public abstract Expression CreateAggregateExpression(Expression enumerableExpression)
The grouping expression.
Returns:Generates default name for this function using this type's name.
protected virtual string GenerateFunctionName()
Function name generated with the following pattern: {GetType().Name}_{GetHashCode()}