Class
FilterDescriptorBase

Base class for all IFilterDescriptor used for handling the logic for property changed notifications.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Syntax:

cs-api-definition
public class FilterDescriptorBase : DescriptorBase, ISuspendNotifications, IFilterDescriptor, INotifyPropertyChanged

Inheritance: objectInheritanceContextPropagatorDescriptorBaseFilterDescriptorBase

Derived Classes: CardDataFieldFilterDescriptorColumnFilterDescriptorColumnFilterDescriptorCompositeFilterDescriptorFilterDescriptor<T>OperatorValueFilterDescriptorBase

Implements: IFilterDescriptorINotifyPropertyChangedISuspendNotifications

Inherited Members DescriptorBase.OnPropertyChanged(PropertyChangedEventArgs)DescriptorBase.OnPropertyChanged(string)DescriptorBase.SuspendNotifications()DescriptorBase.ResumeNotifications()DescriptorBase.NotificationsSuspendedDescriptorBase.PropertyChangedInheritanceContextPropagator.CreateInstanceCore()InheritanceContextPropagator.FreezeCore(bool)

Constructors

FilterDescriptorBase()

Declaration

cs-api-definition
public FilterDescriptorBase()

Methods

CreateFilterExpression(Expression)

Creates a filter expression by delegating its creation to CreateFilterExpression(ParameterExpression), if instance is ParameterExpression, otherwise throws ArgumentException

Declaration

cs-api-definition
public virtual Expression CreateFilterExpression(Expression instance)

Parameters

instance

Expression

The instance expression, which will be used for filtering.

Returns

Expression

A predicate filter expression.

Exceptions

ArgumentException

Parameter should be of type ParameterExpression

Implements IFilterDescriptor.CreateFilterExpression(Expression)

CreateFilterExpression(ParameterExpression)

Creates a predicate filter expression used for collection filtering.

Declaration

cs-api-definition
protected virtual Expression CreateFilterExpression(ParameterExpression parameterExpression)

Parameters

parameterExpression

ParameterExpression

The parameter expression, which will be used for filtering.

Returns

Expression

A predicate filter expression.