Represents an AggregateFunction that uses aggregate extension methods provided in Enumerable using SourceField as a member selector.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Syntax:
public abstract class EnumerableSelectorAggregateFunction : EnumerableAggregateFunctionBase, INotifyPropertyChanged
Inheritance: objectAggregateFunctionEnumerableAggregateFunctionBaseEnumerableSelectorAggregateFunction
Derived Classes:
Implements:
Inherited Members
Constructors
protected EnumerableSelectorAggregateFunction()
Properties
Gets or sets the name of the field, of the item from the set of items, which value is used as the argument of the aggregate function.
public virtual string SourceField { get; set; }
The name of the field to get the argument value from.
Gets or sets the type of the member that is used as the argument of the aggregate function. Set this property if the member type cannot be resolved automatically. Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow.
public Type SourceFieldType { get; set; }
The type of the member used as the argument of the aggregate function.
Methods
Creates the aggregate expression that is used for constructing expression tree that will calculate the aggregate result.
public override Expression CreateAggregateExpression(Expression enumerableExpression)
The grouping expression.
Returns:Overrides: