New to Telerik UI for WPFStart a free 30-day trial

Represents a class that allows a custom lambda expression to be executed over a sequence of items.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Type Parameters:

TElement

The type of the elements in the sequence.

TResult

The type of the function result.

Syntax:

C#
public class AggregateFunction<TElement, TResult> : AggregateFunction, INotifyPropertyChanged

Inheritance: objectAggregateFunctionAggregateFunction<TElement, TResult>

Implements: INotifyPropertyChanged

Inherited Members AggregateFunction.Merge(object, AggregateResultMergeAction, AggregateResult, QueryableCollectionViewGroup)AggregateFunction.GenerateFunctionName()AggregateFunction.OnPropertyChanged(string)AggregateFunction.CaptionAggregateFunction.FunctionNameAggregateFunction.ResultFormatStringAggregateFunction.PropertyChanged...

Constructors

C#
public AggregateFunction()

Properties

Gets or sets the aggregation expression.

C#
public Expression<Func<IEnumerable<TElement>, TResult>> AggregationExpression { get; set; }
Property Value:

The aggregation expression.

Methods

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

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

The grouping expression.

Returns:

Expression

Overrides: AggregateFunction.CreateAggregateExpression(Expression)