Class AggregateFunction
Describes the supported aggregate functions available for LocalDataSourceProvider. PropertyAggregateDescriptionBase. PropertyAggregateDescription. LocalDataSourceProvider.
Inherited Members
Namespace: Telerik.Pivot.Core.Aggregates
Assembly: Telerik.WinControls.PivotGrid.dll
Syntax
public abstract class AggregateFunction : SettingsNode, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IEditable, INamed
Constructors
AggregateFunction()
Declaration
protected AggregateFunction()
Properties
DisplayName
Gets the display-friendly name.
Declaration
public abstract string DisplayName { get; }
Property Value
System.String
|
Implements
Methods
CreateAggregate(Type)
Creates an AggregateValue supported by that AggregateFunction.
Declaration
protected virtual AggregateValue CreateAggregate(Type dataType)
Parameters
System.Type
dataType
|
Returns
AggregateValue
An AggregateValue. |
CreateAggregate(IAggregateContext)
Creates an AggregateValue supported by that AggregateFunction.
Declaration
protected virtual AggregateValue CreateAggregate(IAggregateContext context)
Parameters
IAggregateContext
context
AggregateContext containing information about AggregateValue usage. |
Returns
AggregateValue
An AggregateValue. |
GetStringFormat(Type, String)
Gets a string format suitable to format the value of the AggregateValues produced by that AggregateFunction.
Declaration
public virtual string GetStringFormat(Type dataType, string format)
Parameters
System.Type
dataType
The type of the data items. |
System.String
format
A string format selected by other means. You may keep or discard it. |
Returns
System.String
A string. |