Class
PercentDifferenceFrom

A base class SiblingTotalsFormat that is used for all totals that compute a TotalValue as a difference from other TotalValue and computes the difference as percent from the previous difference.

Definition

Namespace:Telerik.Pivot.Core.Totals

Assembly:Telerik.Pivot.Core.dll

Syntax:

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

Inheritance: objectCloneableSettingsNodeTotalFormatSiblingTotalsFormatComparedToDifferenceFromBasePercentDifferenceFromBasePercentDifferenceFrom

Implements: IEditableINotifyPropertyChangedIServiceProviderISupportInitialize

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

Constructors

PercentDifferenceFrom()

Declaration

cs-api-definition
public PercentDifferenceFrom()

Properties

GroupName

Gets or sets the name of the Name used for comparison.

Declaration

cs-api-definition
[DataMember]
public object GroupName { get; set; }

Property Value

object

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 SiblingTotalsFormat.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).

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 DifferenceFromBase.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.