Class
CalculatedField

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: INamed

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

string

Implements INamed.DisplayName

Name

Gets the name of the calculated field.

Declaration

cs-api-definition
[DataMember]
public string Name { get; set; }

Property Value

string

Methods

CalculateValue(IAggregateValues)

Gets the calculated value.

Declaration

cs-api-definition
protected abstract AggregateValue CalculateValue(IAggregateValues aggregateValues)

Parameters

aggregateValues

IAggregateValues

Interface used to get summary aggregate values for all properties returned by RequiredFields() method.

Returns

AggregateValue

The calculated values.

RequiredFields()

Gets all fields used in calculation.

Declaration

cs-api-definition
protected abstract IEnumerable<RequiredField> RequiredFields()

Returns

IEnumerable<RequiredField>

Enumerable of all property names used in calculation.