Class
PercentRunningTotalsIn

A SiblingTotalsFormat that computes running totals and then computes the percent of these running totals from the grand total. For example if you group by DateTime and use RunningTotalsIn to on that groups the results will show how the values sum up in time. The values will show the percent of the so accumulated values from the grand total.

Definition

Namespace:Telerik.Pivot.Core.Totals

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
[DataContract]
public sealed class PercentRunningTotalsIn : SiblingTotalsFormat, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable

Inheritance: objectCloneableSettingsNodeTotalFormatSiblingTotalsFormatPercentRunningTotalsIn

Implements: IEditableINotifyPropertyChangedIServiceProviderISupportInitialize

Inherited Members SiblingTotalsFormat.AxisSiblingTotalsFormat.LevelSettingsNode.BeginEdit()SettingsNode.BeginInit()SettingsNode.EndInit()SettingsNode.GetService(Type)SettingsNode.ParentSettingsNode.SettingsChangedSettingsNode.ServicesChangedSettingsNode.PropertyChangedCloneable.Clone()

Constructors

PercentRunningTotalsIn()

Declaration

cs-api-definition
public PercentRunningTotalsIn()

Methods

CreateInstanceCore()

When implemented in a derived class, creates a new instance of the Cloneable derived class.

Declaration

cs-api-definition
protected override Cloneable CreateInstanceCore()

Returns

Cloneable

New instance for cloning.

Overrides Cloneable.CreateInstanceCore()

Remarks

Do not call this method directly (except when calling base in an implementation). This method is called internally by the Clone() method whenever a new instance of the Cloneable is created. Notes to Inheritors. Every Cloneable derived class must implement this method. A typical implementation is to simply call the default constructor and return the result.

GetStringFormat(Type, string)

Gets a string format suitable to form the produced AggregateValues by this TotalFormat.

Declaration

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

Parameters

dataType

Type

The type of the data items.

stringFormat

string

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

Returns

string

A string.

Overrides TotalFormat.GetStringFormat(Type, string)