ClassEnumerableSelectorAggregateFunction
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
EnumerableSelectorAggregateFunction()
Declaration
protected EnumerableSelectorAggregateFunction()
Properties
SourceField
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.
Declaration
public virtual string SourceField { get; set; }
Property Value
The name of the field to get the argument value from.
SourceFieldType
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.
Declaration
public Type SourceFieldType { get; set; }
Property Value
The type of the member used as the argument of the aggregate function.
Methods
CreateAggregateExpression(Expression)
Creates the aggregate expression that is used for constructing expression tree that will calculate the aggregate result.
Declaration
public override Expression CreateAggregateExpression(Expression enumerableExpression)
Parameters
enumerableExpression
The grouping expression.
Returns
Overrides
GenerateFunctionName()
Generates default name for this function using this type's name.