Class
ItemsFilterCondition

Condition which is used to filter items based on two other conditions.

Definition

Namespace:Telerik.Pivot.Core.Filtering

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
public sealed class ItemsFilterCondition : LocalCondition, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable

Inheritance: objectCloneableSettingsNodeConditionLocalConditionItemsFilterCondition

Implements: IEditableINotifyPropertyChangedIServiceProviderISupportInitialize

Inherited Members Condition.IsActiveSettingsNode.BeginEdit()SettingsNode.BeginInit()SettingsNode.EndInit()SettingsNode.GetService(Type)SettingsNode.ParentSettingsNode.SettingsChangedSettingsNode.ServicesChangedSettingsNode.PropertyChangedCloneable.Clone()

Constructors

ItemsFilterCondition()

Initializes a new instance of the ItemsFilterCondition class.

Declaration

cs-api-definition
public ItemsFilterCondition()

Properties

Condition

Gets or sets a Condition used to filter the items.

Declaration

cs-api-definition
public LocalCondition Condition { get; set; }

Property Value

LocalCondition

DistinctCondition

Gets or sets a SetCondition used to filter the items.

Declaration

cs-api-definition
public SetCondition DistinctCondition { get; set; }

Property Value

SetCondition

Methods

CloneCore(Cloneable)

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

Declaration

cs-api-definition
protected override sealed void CloneCore(Cloneable source)

Parameters

source

Cloneable

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).

CreateInstanceCore()

When implemented in a derived class, creates a new instance of the Cloneable derived class.

Declaration

cs-api-definition
protected override Cloneable CreateInstanceCore()

Returns

Cloneable

New instance for cloning.

Overrides Cloneable.CreateInstanceCore()

Remarks

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.

PassesFilter(object)

Determines if an object should be filtered.

Declaration

cs-api-definition
public override bool PassesFilter(object item)

Parameters

item

object

The item.

Returns

bool

True if the item should be used in the results. False if it should be ignored.

Overrides LocalCondition.PassesFilter(object)