ClassCalculatedField
Class
Represents an abstraction of a calculated field.
Definition
Namespace:Telerik.Pivot.Core
Assembly:Telerik.Pivot.Core.dll
Syntax:
cs-api-definition
[DataContract]
public abstract class CalculatedField : INamed
Inheritance: objectCalculatedField
Implements:
Constructors
CalculatedField()
Declaration
cs-api-definition
protected CalculatedField()
Properties
DisplayName
Gets the display-friendly name.
Declaration
cs-api-definition
[DataMember]
public string DisplayName { get; set; }
Property Value
Implements
Methods
CalculateValue(IAggregateValues)
Gets the calculated value.
Declaration
cs-api-definition
protected abstract AggregateValue CalculateValue(IAggregateValues aggregateValues)
Parameters
aggregateValues
Interface used to get summary aggregate values for all properties returned by RequiredFields() method.
Returns
The calculated values.
RequiredFields()
Gets all fields used in calculation.
Declaration
cs-api-definition
protected abstract IEnumerable<RequiredField> RequiredFields()
Returns
Enumerable of all property names used in calculation.