Class CountFunction
Represents a function that returns the number of items in a set of items, including nested sets.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class CountFunction : EnumerableAggregateFunction, INotifyPropertyChanged
Constructors
CountFunction()
Properties
AggregateMethodName
Gets the name of the aggregate method on the ExtensionMethodsType that will be used for aggregation.
Declaration
protected override string AggregateMethodName { get; }
Property Value
System.String
The name of the aggregate method that will be used. |
Overrides
Remarks
Gets the the Count 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.Object
item
The item. |
AggregateResultMergeAction
mergeAction
The action. |
AggregateResult
originalAggregateResult
The original aggregate result. |
QueryableCollectionViewGroup
group
The group which the item is being added to or removed from. |
Returns
System.Object
The new value of the aggregate result. |