Class RankTotals
A SiblingTotalsFormat that rank totals by sorting the totals using the Telerik.Pivot.Core.Totals.RankTotals.Comparer and then uses the indices of the Telerik.Pivot.Core.Totals.TotalValues in the sorted list for Telerik.Pivot.Core.Totals.TotalValue.FormattedValue.
Inherited Members
Namespace: Telerik.Pivot.Core.Totals
Assembly: Telerik.Pivot.Core.dll
Syntax
public sealed class RankTotals : SiblingTotalsFormat, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IEditable, IDescriptionsReferencing
Constructors
RankTotals()
Declaration
public RankTotals()
Properties
SortOrder
A SortOrder used to rank the total values.
Declaration
public SortOrder SortOrder { get; set; }
Property Value
SortOrder
|
Methods
CloneCore(Cloneable)
Makes the instance a clone (deep copy) of the specified Cloneable.
Declaration
protected override void CloneCore(Cloneable source)
Parameters
Cloneable
source
The object to clone. |
Overrides
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
protected override Cloneable CreateInstanceCore()
Returns
Cloneable
New instance for cloning. |
Overrides
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
public override string GetStringFormat(Type dataType, string stringFormat)
Parameters
System.Type
dataType
The type of the data items. |
System.String
stringFormat
A string format selected by other means. You may keep or discard it. |
Returns
System.String
A string. |