Class QueryableGroupDescription
Serves as a base class for group descriptors of QueryableDataProvider. that will be used for column and row grouping.
Inheritance
Inherited Members
Namespace: Telerik.Pivot.Queryable
Assembly: Telerik.Pivot.DataProviders.Queryable.dll
Syntax
public abstract class QueryableGroupDescription : GroupDescription, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IGroupDescription, IDescriptionBase, ISortableGroupDescription, INamed, IEditable, IDescriptionsReferencing, IGrandTotalSupport
Properties
CalculatedItems
Gets the collection of calculated items that are used to initialize a group with a set of subgroups and summarized value.
Declaration
public Collection<CalculatedItem> CalculatedItems { get; }
Property Value
System.Collections.ObjectModel.Collection<CalculatedItem>
|
NeedsProcessing
Gets a value indicating whether grouped data should be processed before handing it over to the engine.
Declaration
protected virtual bool NeedsProcessing { get; }
Property Value
System.Boolean
|
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).
CreateGroupKeyExpression(IEnumerable<Expression>)
Creates the group key expression.
Declaration
protected abstract Expression CreateGroupKeyExpression(IEnumerable<Expression> valueExpressions)
Parameters
System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression>
valueExpressions
Value expressions used for generating group key. |
Returns
System.Linq.Expressions.Expression
Expression that creates group key for the given item. |
CreateGroupKeyValuesExpressions(ParameterExpression)
Creates value expressions for values that will be used for generating group key expression.
Declaration
protected abstract IEnumerable<Expression> CreateGroupKeyValuesExpressions(ParameterExpression itemExpression)
Parameters
System.Linq.Expressions.ParameterExpression
itemExpression
The parameter expression, which will be used for grouping. |
Returns
System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression>
Value expressions. |
GetAllNames(IEnumerable<Object>, IEnumerable<Object>)
Returns all possible group keys for this instance.
Declaration
protected override IEnumerable<object> GetAllNames(IEnumerable<object> uniqueNames, IEnumerable<object> parentGroupNames)
Parameters
System.Collections.Generic.IEnumerable<System.Object>
uniqueNames
Enumeration of all unique group keys that were discovered after grouping. |
System.Collections.Generic.IEnumerable<System.Object>
parentGroupNames
Enumeration of all parent groups. |
Returns
System.Collections.Generic.IEnumerable<System.Object>
Returns all possible group keys for this instance. |