Class FilterDescriptorBase
Base class for all IFilterDescriptor used for handling the logic for property changed notifications.
Inherited Members
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class FilterDescriptorBase : DescriptorBase, ISuspendNotifications, IFilterDescriptor, INotifyPropertyChanged
Constructors
FilterDescriptorBase()
Declaration
public FilterDescriptorBase()
Methods
CreateFilterExpression(Expression)
Creates a filter expression by delegating its creation to
CreateFilterExpression(ParameterExpression), if
instance
is System.Linq.Expressions.ParameterExpression, otherwise throws System.ArgumentException
Declaration
public virtual Expression CreateFilterExpression(Expression instance)
Parameters
System.Linq.Expressions.Expression
instance
The instance expression, which will be used for filtering. |
Returns
System.Linq.Expressions.Expression
A predicate filter expression. |
Implements
Exceptions
System.ArgumentException
Parameter should be of type System.Linq.Expressions.ParameterExpression |
CreateFilterExpression(ParameterExpression)
Creates a predicate filter expression used for collection filtering.
Declaration
protected virtual Expression CreateFilterExpression(ParameterExpression parameterExpression)
Parameters
System.Linq.Expressions.ParameterExpression
parameterExpression
The parameter expression, which will be used for filtering. |
Returns
System.Linq.Expressions.Expression
A predicate filter expression. |