AggregateValue
Holds a value presentation of an aggregate function accumulated during pivot grouping.
Definition
Namespace:Telerik.Pivot.Core.Aggregates
Assembly:Telerik.WinControls.PivotGrid.dll
Syntax:
public abstract class AggregateValue : Cloneable
Inheritance: objectCloneableAggregateValue
Derived Classes:
Inherited Members
Constructors
protected AggregateValue()
Fields
Gets an AggregateValue representing error.
public static readonly AggregateValue ErrorAggregateValue
Methods
Add the value to the results in the current AggregateValue instance.
protected abstract void AccumulateOverride(object value)
The value to accumulate.
Makes the instance a clone (deep copy) of the specified Cloneable.
protected override void CloneCore(Cloneable source)
The object to clone.
Overrides:
Notes to Inheritors If you derive from Cloneable, you may need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).
Gets a presentation friendly value of the results in the current AggregateValue.
public object GetValue()
Returns an object containing a formatted value or error object.
Gets a presentation friendly value of the results in the current AggregateValue instance to be returned in GetValue(). If an error occurred during calculations the GetValue() will not call GetValueOverride() but return the error instead.
Merge the results of an AggregateValue with the results in the current AggregateValue instance.
protected abstract void MergeOverride(AggregateValue childAggregate)
The AggregateValue to merge.