Class SumFunction
Represents a function that returns the sum of all items from a set of items.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class SumFunction : EnumerableSelectorAggregateFunction, INotifyPropertyChanged
Constructors
SumFunction()
Properties
AggregateMethodName
Gets the name of the aggregate method on the Extension
Declaration
protected override string AggregateMethodName { get; }
Property Value
System. The name of the aggregate method that will be used. |
Overrides
Remarks
Gets the the Sum method name.
Methods
Merge(Object, AggregateResultMergeAction, AggregateResult, QueryableCollectionViewGroup)
Merges the specified item into the aggregate result according to the specified action.
Declaration
public override object Merge(object item, AggregateResultMergeAction mergeAction, AggregateResult originalAggregateResult, QueryableCollectionViewGroup group)
Parameters
System. The item. |
Aggregate The action. |
Aggregate The original aggregate result. |
Queryable The group which the item is being added to or removed from. |
Returns
System. The new value of the aggregate result. |