New to Telerik UI for WPF? Start a free 30-day trial

A filters based on the relation between an item and an interval.

Definition

Namespace:Telerik.Pivot.Queryable.Filtering

Assembly:Telerik.Pivot.DataProviders.Queryable.dll

Syntax:

C#
[DataContract]
public sealed class QueryableIntervalCondition : QueryableCondition, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable

Inheritance: objectCloneableSettingsNodeConditionQueryableConditionQueryableIntervalCondition...

Implements: IEditableINotifyPropertyChangedIServiceProviderISupportInitialize

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

Constructors

Initializes a new instance of the QueryableIntervalCondition class.

C#
public QueryableIntervalCondition()

Properties

Gets or sets the condition used in the comparison.

C#
[DataMember]
public IntervalComparison Condition { get; set; }

Gets or sets the start of the interval used in comparison.

C#
[DataMember]
public object From { get; set; }

Gets or sets the value of ignore case.

C#
[DataMember]
public bool IgnoreCase { get; set; }

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

C#
public override bool IsActive { get; }
Property Value:

Is active.

Overrides: Condition.IsActive

Gets or sets the end of the interval used in comparison.

C#
[DataMember]
public object To { 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)

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.

C#
protected override Cloneable CreateInstanceCore()
Returns:

Cloneable

New instance for cloning.

Overrides: Cloneable.CreateInstanceCore()

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.

Determines the queryable Expression for filtering an object.

C#
protected override Expression GetExpression(Expression valueExpression)
Parameters:valueExpressionExpression

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

Returns:

Expression

The filter Expression.

Overrides: QueryableCondition.GetExpression(Expression)