Interface
IAggregateFunction

Defines a custom type that may be used for custom value aggregation in data component. The interface needs to be cloneable due to the parallel data processing.

Definition

Namespace:Telerik.Data.Core

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public interface IAggregateFunction : ICloneable<IAggregateFunction>

Inherited Members ICloneable<IAggregateFunction>.Clone()

Methods

Accumulate(object)

Applies the function logic to the provided value - that is the extracted value from the ViewModel.

Declaration

cs-api-definition
void Accumulate(object value)

Parameters

value

object

GetValue()

Gets the computed value.

Declaration

cs-api-definition
object GetValue()

Returns

object

Merge(IAggregateFunction)

Merges this function with another one - this is used when Grand Totals are calculated.

Declaration

cs-api-definition
void Merge(IAggregateFunction aggregateFunction)

Parameters

aggregateFunction

IAggregateFunction