Class
SiblingGroupsFilter

Used for advanced group filtering based on group's siblings. Can filters the groups based on count, average values, sorted values etc.

Definition

Namespace:Telerik.Pivot.Core.Filtering

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
[DataContract]
public abstract class SiblingGroupsFilter : GroupFilter, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable

Inheritance: objectCloneableSettingsNodeGroupFilterSiblingGroupsFilter

Derived Classes: SortedGroupsFilter

Implements: IEditableINotifyPropertyChangedIServiceProviderISupportInitialize

Inherited Members SettingsNode.NotifyServicesChanged()SettingsNode.NotifySettingsChanged(SettingsChangedEventArgs)SettingsNode.OnSettingsChanged(SettingsChangedEventArgs)SettingsNode.BeginEdit()SettingsNode.BeginInit()SettingsNode.EndInit()SettingsNode.GetService(Type)SettingsNode.OnPropertyChanged(string)SettingsNode.RemoveSettingsChild(SettingsNode)SettingsNode.AddSettingsChild(SettingsNode)SettingsNode.GetServiceOverride(Type)SettingsNode.OnEnteredEditScope()SettingsNode.OnExitingEditScope()SettingsNode.ParentSettingsNode.SettingsChangedSettingsNode.ServicesChangedSettingsNode.PropertyChangedCloneable.Clone()Cloneable.CreateInstanceCore()Cloneable.CloneCore(Cloneable)

Constructors

SiblingGroupsFilter()

Initializes a new instance of the SiblingGroupsFilter class.

Declaration

cs-api-definition
protected SiblingGroupsFilter()

Methods

Filter(IReadOnlyList<IGroup>, IAggregateResultProvider, PivotAxis, int)

Filters the groups within a parent group. Can filter based on count, average values or sorted values.

Declaration

cs-api-definition
protected abstract ICollection<IGroup> Filter(IReadOnlyList<IGroup> groups, IAggregateResultProvider results, PivotAxis axis, int level)

Parameters

groups

IReadOnlyList<IGroup>

A read only list of all siblings.

results

IAggregateResultProvider

The current aggregate results.

axis

PivotAxis

Identifies if the groups are in Rows or Columns.

level

int

The level of the groups.

Returns

ICollection<IGroup>

A ICollection<T> implementation that is used to filter the groups.