Class SortedGroupsFilter
A base class for groups filter based on sorted list.
Inherited Members
Namespace: Telerik.Pivot.Core.Filtering
Assembly: Telerik.Pivot.Core.dll
Syntax
public abstract class SortedGroupsFilter : SiblingGroupsFilter, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IEditable, IDescriptionsReferencing, ITopGroupsFilter
Constructors
SortedGroupsFilter()
Declaration
protected SortedGroupsFilter()
Properties
AggregateIndex
Specifies which aggregate description in the grouping would be used as source for comparison.
Declaration
public int AggregateIndex { get; set; }
Property Value
System.Int32
|
Comparer
Gets or sets the comparer used to sort for the Selection.
Declaration
public IComparer<AggregateValue> Comparer { get; set; }
Property Value
System.Collections.Generic.IComparer<AggregateValue>
|
Selection
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).
Filter(IReadOnlyList<IGroup>, IAggregateResultProvider, PivotAxis, Int32)
Filters the groups within a parent group. Can filter based on count, average values or sorted values.
Declaration
protected override sealed ICollection<IGroup> Filter(IReadOnlyList<IGroup> groups, IAggregateResultProvider results, PivotAxis axis, int level)
Parameters
IReadOnlyList<IGroup>
groups
A read only list of all siblings. |
IAggregateResultProvider
results
The current aggregate results. |
PivotAxis axis |
System.Int32
level
The level of the groups. |
Returns
System.Collections.Generic.ICollection<IGroup>
A System.Collections.Generic.ICollection<T> implementation that is used to filter the groups. |