Class
QueryableDoubleGroupDescription

Represents a group descriptor, which can group numeric values.

Definition

Namespace:Telerik.Pivot.Queryable

Assembly:Telerik.Pivot.DataProviders.Queryable.dll

Syntax:

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

Inheritance: objectCloneableSettingsNodeDescriptionBaseGroupDescriptionBaseGroupDescriptionQueryableGroupDescriptionQueryablePropertyGroupDescriptionBaseQueryableDoubleGroupDescription

Implements: IDescriptionBaseIEditableIGroupDescriptionINamedINotifyPropertyChangedIServiceProviderISupportInitialize

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

Constructors

QueryableDoubleGroupDescription()

Initializes a new instance of the QueryableDoubleGroupDescription class.

Declaration

cs-api-definition
public QueryableDoubleGroupDescription()

Properties

NeedsProcessing

Gets a value indicating whether grouped data should be processed before handing it over to the engine.

Declaration

cs-api-definition
protected override bool NeedsProcessing { get; }

Property Value

bool

true if should process; otherwise, false.

Overrides QueryablePropertyGroupDescriptionBase.NeedsProcessing

Step

Gets or sets the size of the generated DoubleGroups.

Declaration

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

Property Value

double

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

CreateGroupKeyExpression(IEnumerable<Expression>)

Creates the group key expression.

Declaration

cs-api-definition
protected override Expression CreateGroupKeyExpression(IEnumerable<Expression> valueExpressions)

Parameters

valueExpressions

IEnumerable<Expression>

Value expressions used for generating group key.

Returns

Expression

Expression that creates group key for the given item.

Overrides QueryablePropertyGroupDescriptionBase.CreateGroupKeyExpression(IEnumerable<Expression>)

CreateGroupKeyValuesExpressions(ParameterExpression)

Creates value expressions for values that will be used for generating group key expression.

Declaration

cs-api-definition
protected override IEnumerable<Expression> CreateGroupKeyValuesExpressions(ParameterExpression itemExpression)

Parameters

itemExpression

ParameterExpression

The parameter expression, which will be used for grouping.

Returns

IEnumerable<Expression>

Value expressions.

Overrides QueryablePropertyGroupDescriptionBase.CreateGroupKeyValuesExpressions(ParameterExpression)

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 QueryableGroupDescription.GetAllNames(IEnumerable<object>, IEnumerable<object>)