ValueGroupFilter
A SingleGroupFilter that filter IGroups based on their AggregateValue subtotals.
Definition
Namespace:Telerik.Pivot.Core.Filtering
Assembly:Telerik.Pivot.Core.dll
Syntax:
[DataContract]
public sealed class ValueGroupFilter : SingleGroupFilter, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable
Inheritance: objectCloneableSettingsNodeGroupFilterSingleGroupFilterValueGroupFilter...
Implements:
Inherited Members
Constructors
public ValueGroupFilter()
Properties
Gets or sets the aggregate index to be used in the filtering.
[DataMember]
public int AggregateIndex { get; set; }
Gets or sets the Condition used to filter the groups.
[DataMember]
public LocalCondition Condition { 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).
When implemented in a derived class, creates a new instance of the Cloneable derived class.
protected override Cloneable CreateInstanceCore()
New instance for cloning.
Overrides:
Do not call this method directly (except when calling base in an implementation). This method is called internally by the Clone() method whenever a new instance of the Cloneable is created. Notes to Inheritors. Every Cloneable derived class must implement this method. A typical implementation is to simply call the default constructor and return the result.
Identifies if a group should be filtered or not.
protected override bool Filter(IGroup group, IAggregateResultProvider results, PivotAxis axis)
The group.
resultsIAggregateResultProviderResults for the current grouping. Could be used for totals lookup.
axisPivotAxisIdentifies if the group is positioned in the Rows or Columns.
True if the group should be preserved, False if the group should be removed.
Overrides: