SortedGroupsFilter
A base class for groups filter based on sorted list.
Definition
Namespace:Telerik.Pivot.Core.Filtering
Assembly:Telerik.Pivot.Core.dll
Syntax:
[DataContract]
public abstract class SortedGroupsFilter : SiblingGroupsFilter, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable
Inheritance: objectCloneableSettingsNodeGroupFilterSiblingGroupsFilterSortedGroupsFilter...
Derived Classes:
Implements:
Inherited Members
Constructors
protected SortedGroupsFilter()
Properties
Specifies which aggregate description in the grouping would be used as source for comparison.
[DataMember]
public int AggregateIndex { get; set; }
Gets or sets the comparer used to sort for the Selection.
[DataMember]
public IComparer<AggregateValue> Comparer { get; set; }
Methods
Makes the instance a clone (deep copy) of the specified Cloneable.
protected override void CloneCore(Cloneable source)
The object to clone.
Overrides:
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).
Filters the groups within a parent group. Can filter based on count, average values or sorted values.
protected override sealed ICollection<IGroup> Filter(IReadOnlyList<IGroup> groups, IAggregateResultProvider results, PivotAxis axis, int level)
A read only list of all siblings.
resultsIAggregateResultProviderThe current aggregate results.
axisPivotAxisIdentifies if the groups are in Rows or Columns.
levelintThe level of the groups.
Returns:A ICollection<T> implementation that is used to filter the groups.
Overrides: