ClassLastFunction
Represents a function that returns the last item from a set of items.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Syntax:
public class LastFunction : EnumerableAggregateFunction, INotifyPropertyChanged
Inheritance: objectAggregateFunctionEnumerableAggregateFunctionBaseEnumerableAggregateFunctionLastFunction
Implements:
Inherited Members
Constructors
LastFunction()
Initializes a new instance of the LastFunction class.
Declaration
public LastFunction()
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
The name of the aggregate method that will be used.
Overrides
Remarks
Gets the the Last 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
item
The item.
mergeAction
The action.
originalAggregateResult
The original aggregate result.
group
The group which the item is being added to or removed from.
Returns
The new value of the aggregate result.
Overrides