New to Telerik UI for WPFStart a free 30-day trial

A base class for groups filter based on sorted list.

Definition

Constructors

C#
protected SortedGroupsFilter()

Properties

Specifies which aggregate description in the grouping would be used as source for comparison.

C#
[DataMember]
public int AggregateIndex { get; set; }

Gets or sets the comparer used to sort for the Selection.

C#
[DataMember]
public IComparer<AggregateValue> Comparer { get; set; }

Specifies whether the Top or Bottom groups would be accepted by the filter.

C#
[DataMember]
public SortedListSelection Selection { get; set; }

Methods

Makes the instance a clone (deep copy) of the specified Cloneable.

C#
protected override void CloneCore(Cloneable source)
Parameters:sourceCloneable

The object to clone.

Overrides: Cloneable.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).

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

C#
protected override sealed ICollection<IGroup> Filter(IReadOnlyList<IGroup> groups, IAggregateResultProvider results, PivotAxis axis, int level)
Parameters:groupsIReadOnlyList<IGroup>

A read only list of all siblings.

resultsIAggregateResultProvider

The current aggregate results.

axisPivotAxis

Identifies if the groups are in Rows or Columns.

levelint

The level of the groups.

Returns:

ICollection<IGroup>

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

Overrides: SiblingGroupsFilter.Filter(IReadOnlyList<IGroup>, IAggregateResultProvider, PivotAxis, int)