New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

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

Definition

Namespace:Kendo.Mvc

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class FilterDescriptorBase : JsonObject, IFilterDescriptor

Inheritance: objectJsonObjectFilterDescriptorBase

Derived Classes: CompositeFilterDescriptorFilterDescriptorFilterDescription

Implements: IFilterDescriptor

Inherited Members JsonObject.ToJson()object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public FilterDescriptorBase()

Properties

If set to true string search will be case sensitive.

C#
public bool CaseSensitiveFilter { get; set; }

Implements: IFilterDescriptor.CaseSensitiveFilter

Methods

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

C#
public virtual Expression CreateFilterExpression(Expression instance)
Parameters:instanceExpression

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)

Creates a predicate filter expression used for collection filtering.

C#
protected virtual Expression CreateFilterExpression(ParameterExpression parameterExpression)
Parameters:parameterExpressionParameterExpression

The parameter expression, which will be used for filtering.

Returns:

Expression

A predicate filter expression.

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)