Class
QueryableSetCondition

Filter that checks if items are included/excluded from a set.

Definition

Namespace:Telerik.Pivot.Queryable.Filtering

Assembly:Telerik.Pivot.DataProviders.Queryable.dll

Syntax:

cs-api-definition
[DataContract]
public sealed class QueryableSetCondition : QueryableCondition, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable

Inheritance: objectCloneableSettingsNodeConditionQueryableConditionQueryableSetCondition

Implements: IEditableINotifyPropertyChangedIServiceProviderISupportInitialize

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

Constructors

QueryableSetCondition()

Initializes a new instance of the QueryableSetCondition class.

Declaration

cs-api-definition
public QueryableSetCondition()

Properties

Comparison

Gets or sets the filter condition.

Declaration

cs-api-definition
[DataMember]
public SetComparison Comparison { get; set; }

Property Value

SetComparison

IsActive

Returns a value indicating whether this instance is active and will take part in filtering.

Declaration

cs-api-definition
public override bool IsActive { get; }

Property Value

bool

Is active.

Overrides Condition.IsActive

Items

Gets the set of items used for filtering. Setting this property will create a clone of the provided SetConditionHashCollection value. The setter is implemented to support deserialization.

Declaration

cs-api-definition
[DataMember]
public SetConditionHashCollection Items { get; }

Property Value

SetConditionHashCollection

Methods

CloneCore(Cloneable)

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

Declaration

cs-api-definition
protected override 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.

GetExpression(Expression)

Determines the queryable Expression for filtering an object.

Declaration

cs-api-definition
protected override Expression GetExpression(Expression valueExpression)

Parameters

valueExpression

Expression

The Expression that will be used as property for filter comparison.

Returns

Expression

The filter Expression.

Overrides QueryableCondition.GetExpression(Expression)