Click or drag to resize
GroupsCountFilter Class
Implements a GroupFilter that selects a specific number of groups sorted by a given criteria.
Inheritance Hierarchy

Namespace: Telerik.Pivot.Core.Filtering
Assembly: Telerik.WinControls.PivotGrid (in Telerik.WinControls.PivotGrid.dll) Version: 2018.1.220.40 (2018.1.220.40)
Syntax
[DataContractAttribute]
public sealed class GroupsCountFilter : SortedGroupsFilter, 
	ITopGroupsFilter

The GroupsCountFilter type exposes the following members.

Constructors
  NameDescription
Public methodGroupsCountFilter
Initializes a new instance of the SiblingGroupsFilter class.
Top
Properties
  NameDescription
Public propertyAggregateIndex
Specifies which aggregate description in the grouping would be used as source for comparison.
(Inherited from SortedGroupsFilter.)
Public propertyComparer
Gets or sets the comparer used to sort for the Selection.
(Inherited from SortedGroupsFilter.)
Public propertyCount
Filters groups until that sum of their totals reaches that sum.
Public propertyParent
Gets the SettingsNode this SettingsNode is used in.
(Inherited from SettingsNode.)
Public propertySelection
Specifies whether the Top or Bottom groups would be accepted by the filter.
(Inherited from SortedGroupsFilter.)
Top
Methods
  NameDescription
Protected methodAddSettingsChild
Set this SettingsNode as parent of the child and becomes a target for the child's change notifications.
(Inherited from SettingsNode.)
Public methodCode exampleBeginEdit
Enters the SettingsNode in a new editing scope. Use when applying multiple changes. If child SettingsNode are changed, notifications will be accumulated in this SettingsNode.
Examples
using(settingsNode.BeginEdit()) { // Apply multiple changes here. }
(Inherited from SettingsNode.)
Public methodBeginInit (Inherited from SettingsNode.)
Public methodClone
Creates a new instance of the Cloneable, making deep copies of the object's values.
(Inherited from Cloneable.)
Protected methodCloneCore
Makes the instance a clone (deep copy) of the specified Cloneable.
(Overrides SortedGroupsFilterCloneCore(Cloneable).)
Protected methodCreateInstanceCore
When implemented in a derived class, creates a new instance of the Cloneable derived class.
(Overrides CloneableCreateInstanceCore.)
Public methodEndInit (Inherited from SettingsNode.)
Protected methodFilter
Filters the groups within a parent group. Can filter based on count, average values or sorted values.
(Inherited from SortedGroupsFilter.)
Public methodGetService (Inherited from SettingsNode.)
Protected methodGetServiceOverride
Provides services available by this SettingsNode. Other services may be available in its ParentSettingsNodes. The default implementation returns this SettingsNode if the desired service type is assignable from the type of this. The GetService(Type) implementation of IServiceProvider would query the service on the local node and if not available would query up the Parent nodes.
(Inherited from SettingsNode.)
Protected methodNotifyServicesChanged
Raises the ServicesChanged event.
(Inherited from SettingsNode.)
Protected methodNotifySettingsChanged
Will recursively notify all SettingsNode for a settings change.
(Inherited from SettingsNode.)
Protected methodOnEnteredEditScope
Override to provide custom behavior for derived classes when editing begins. SettingsNode is already in edit mode and changes within the method body will be accumulated and released upon exit.
(Inherited from SettingsNode.)
Protected methodOnExitingEditScope
Override to provide custom behavior for derived classes when finishing editing. SettingsNode is still in edit mode and changes within the method body will be accumulated and released upon exit.
(Inherited from SettingsNode.)
Protected methodOnPropertyChanged
Raises this object's PropertyChanged event.
(Inherited from SettingsNode.)
Protected methodOnSettingsChanged
Invoked when a SettingsChangedEventArgs reaches the SettingsNode.
(Inherited from SettingsNode.)
Protected methodRemoveSettingsChild
Unsets the parent initiated with AddSettingsChild(SettingsNode). This SettingsNode will no longer receive change notifications from the child.
(Inherited from SettingsNode.)
Top
Events
  NameDescription
Public eventPropertyChanged
Invoked when a property value changes.
(Inherited from SettingsNode.)
Public eventServicesChanged
Invoked when new services are available or existing services are removed.
(Inherited from SettingsNode.)
Public eventSettingsChanged
Invoked when this or one of the children is changed.
(Inherited from SettingsNode.)
Top
See Also