Class
NumericFormatAggregateFunction

Base class for generic AggregateFunctions that preserve the meaning of the underlying data. It provides a basic functionality to select default string formats.

Definition

Namespace:Telerik.Pivot.Core

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
[DataContract]
public abstract class NumericFormatAggregateFunction : AggregateFunction, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable, INamed

Inheritance: objectCloneableSettingsNodeAggregateFunctionNumericFormatAggregateFunction

Derived Classes: MaxAggregateFunctionMinAggregateFunctionSumAggregateFunction

Implements: IEditableINamedINotifyPropertyChangedIServiceProviderISupportInitialize

Inherited Members AggregateFunction.CreateAggregate(Type)AggregateFunction.CreateAggregate(IAggregateContext)AggregateFunction.DisplayNameSettingsNode.NotifyServicesChanged()SettingsNode.NotifySettingsChanged(SettingsChangedEventArgs)SettingsNode.OnSettingsChanged(SettingsChangedEventArgs)SettingsNode.BeginEdit()SettingsNode.BeginInit()SettingsNode.EndInit()SettingsNode.GetService(Type)SettingsNode.OnPropertyChanged(string)SettingsNode.RemoveSettingsChild(SettingsNode)SettingsNode.AddSettingsChild(SettingsNode)SettingsNode.GetServiceOverride(Type)SettingsNode.OnEnteredEditScope()SettingsNode.OnExitingEditScope()SettingsNode.ParentSettingsNode.SettingsChangedSettingsNode.ServicesChangedSettingsNode.PropertyChangedCloneable.Clone()Cloneable.CreateInstanceCore()Cloneable.CloneCore(Cloneable)

Constructors

NumericFormatAggregateFunction()

Declaration

cs-api-definition
protected NumericFormatAggregateFunction()

Methods

GetStringFormat(Type, string)

Gets a string format suitable to format the value of the AggregateValues produced by that AggregateFunction.

Declaration

cs-api-definition
public override string GetStringFormat(Type dataType, string format)

Parameters

dataType

Type

The type of the data items.

format

string

A string format selected by other means. You may keep or discard it.

Returns

string

A string.

Overrides AggregateFunction.GetStringFormat(Type, string)