Class
DoubleGroupDescription

Used for numeric values to group items, provide well known groups, sort and filter the groups.

Definition

Namespace:Telerik.Pivot.Core

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
[DataContract]
public sealed class DoubleGroupDescription : PropertyGroupDescriptionBase, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IGroupDescription, IDescriptionBase, INamed, IEditable

Inheritance: objectCloneableSettingsNodeDescriptionBaseGroupDescriptionBaseGroupDescriptionPropertyGroupDescriptionBaseDoubleGroupDescription

Implements: IDescriptionBaseIEditableIGroupDescriptionINamedINotifyPropertyChangedIServiceProviderISupportInitialize

Inherited Members PropertyGroupDescriptionBase.GetUniqueName()PropertyGroupDescriptionBase.PropertyNamePropertyGroupDescriptionBase.CalculatedItemsGroupDescription.ShowGroupsWithNoDataGroupDescription.AutoShowSubTotalsGroupDescription.GroupFilterGroupDescriptionBase.GroupComparerGroupDescriptionBase.SortOrderDescriptionBase.DisplayNameDescriptionBase.CustomNameSettingsNode.BeginEdit()SettingsNode.BeginInit()SettingsNode.EndInit()SettingsNode.GetService(Type)SettingsNode.ParentSettingsNode.SettingsChangedSettingsNode.ServicesChangedSettingsNode.PropertyChangedCloneable.Clone()

Constructors

DoubleGroupDescription()

Initializes a new instance of the DoubleGroupDescription class.

Declaration

cs-api-definition
public DoubleGroupDescription()

Properties

Step

Gets or sets the size of the generated DoubleGroups.

Declaration

cs-api-definition
[DataMember]
public double Step { get; set; }

Property Value

double

Methods

CloneOverride(Cloneable)

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

Declaration

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

Parameters

source

Cloneable

The object to clone.

Overrides PropertyGroupDescriptionBase.CloneOverride(Cloneable)

Remarks

Notes to Inheritors If you derive from Cloneable, you 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 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.

GetAllNames(IEnumerable<object>, IEnumerable<object>)

Returns all possible group keys for this instance.

Declaration

cs-api-definition
protected override IEnumerable<object> GetAllNames(IEnumerable<object> uniqueNames, IEnumerable<object> parentGroupNames)

Parameters

uniqueNames

IEnumerable<object>

Enumeration of all unique group keys that were discovered after grouping.

parentGroupNames

IEnumerable<object>

Enumeration of all parent groups.

Returns

IEnumerable<object>

Returns all possible group keys for this instance.

Overrides PropertyGroupDescriptionBase.GetAllNames(IEnumerable<object>, IEnumerable<object>)

GroupNameFromItem(object, int)

Names a group that would contain the item. DoubleGroup.

Declaration

cs-api-definition
protected override object GroupNameFromItem(object item, int level)

Parameters

item

object

The item to group.

level

int

The level of grouping for this GroupDescription.

Returns

object

A DoubleGroup name for the group that would contain the item.

Overrides PropertyGroupDescriptionBase.GroupNameFromItem(object, int)