Class
PercentOfAncestor

A SingleTotalFormat that is base class for all "percent of" formats.

Definition

Namespace:Telerik.Pivot.Core.Totals

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
[DataContract]
public abstract class PercentOfAncestor : SingleTotalFormat, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable

Inheritance: objectCloneableSettingsNodeTotalFormatSingleTotalFormatPercentOfAncestor

Derived Classes: PercentOfColumnTotalPercentOfGrandTotalPercentOfRowTotal

Implements: IEditableINotifyPropertyChangedIServiceProviderISupportInitialize

Inherited Members SettingsNode.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()

Methods

CloneCore(Cloneable)

Makes the instance a clone (deep copy) of the specified Cloneable.

Declaration

cs-api-definition
protected override void CloneCore(Cloneable source)

Parameters

source

Cloneable

The object to clone.

Overrides Cloneable.CloneCore(Cloneable)

Remarks

Notes to Inheritors If you derive from Cloneable, you may need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).

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)