New to Telerik UI for WinFormsStart a free 30-day trial

Represents an abstraction of a calculated field.

Definition

Namespace:Telerik.Pivot.Core

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
[DataContract]
public abstract class CalculatedField : INamed

Inheritance: objectCalculatedField

Implements: INamed

Constructors

C#
protected CalculatedField()

Properties

Gets the display-friendly name.

C#
[DataMember]
public string DisplayName { get; set; }

Implements: INamed.DisplayName

Gets the name of the calculated field.

C#
[DataMember]
public string Name { get; set; }

Methods

Gets the calculated value.

C#
protected abstract AggregateValue CalculateValue(IAggregateValues aggregateValues)
Parameters:aggregateValuesIAggregateValues

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

Returns:

AggregateValue

The calculated values.

Gets all fields used in calculation.

C#
protected abstract IEnumerable<RequiredField> RequiredFields()
Returns:

IEnumerable<RequiredField>

Enumerable of all property names used in calculation.