Class
FilterDescriptor<T>

Allows filtering by a lambda expression.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Type Parameters:

T

Syntax:

cs-api-definition
public class FilterDescriptor<T> : FilterDescriptorBase, ISuspendNotifications, IFilterDescriptor, INotifyPropertyChanged

Inheritance: objectInheritanceContextPropagatorDescriptorBaseFilterDescriptorBaseFilterDescriptor<T>

Implements: IFilterDescriptorINotifyPropertyChangedISuspendNotifications

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

Constructors

FilterDescriptor()

Declaration

cs-api-definition
public FilterDescriptor()

Fields

FilteringExpressionProperty

Identifies the FilteringExpression dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FilteringExpressionProperty

Field Value

DependencyProperty

Properties

FilteringExpression

Gets or sets the filter expression.

Declaration

cs-api-definition
public Expression<Func<T, bool>> FilteringExpression { get; set; }

Property Value

Expression<Func<T, bool>>

The filter expression.

Methods

CreateFilterExpression(ParameterExpression)

Creates a predicate filter expression used for collection filtering.

Declaration

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

Parameters

parameterExpression

ParameterExpression

The parameter expression, which will be used for filtering.

Returns

Expression

A predicate filter expression.

Overrides FilterDescriptorBase.CreateFilterExpression(ParameterExpression)