skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic FiddlerCap FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Blazor Hybrid
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Blazor Tutorials and Learning
    • First Stepswith Blazor Web Assembly
    • First Steps with Blazor Server
    • First Steps with Blazor Hybrid
    • Accessibility and Security
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Modernization and Migration
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • REPL for Blazor
    • ThemeBuilder
    • Design System Documentation
    • Figma Kits
    • Visual Studio Extensions
    • Visual Studio Code Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class FilterDescriptor

Represents declarative filtering.

Inheritance
System.Object
JsonObject
FilterDescriptorBase
FilterDescriptor
Inherited Members
FilterDescriptorBase.CreateFilterExpression(Expression)
JsonObject.ToJson()
Namespace: Telerik.DataSource
Assembly: Telerik.DataSource.dll

Syntax

public class FilterDescriptor : FilterDescriptorBase, IFilterDescriptor

Constructors

FilterDescriptor()

Initializes a new instance of the FilterDescriptor class.

Declaration
public FilterDescriptor()

FilterDescriptor(String, FilterOperator, Object)

Initializes a new instance of the FilterDescriptor class.

Declaration
public FilterDescriptor(string member, FilterOperator filterOperator, object filterValue)
Parameters
System.String member

The member.

FilterOperator filterOperator

The filter operator.

System.Object filterValue

The filter value.

Properties

ConvertedValue

Declaration
public object ConvertedValue { get; }
Property Value
System.Object

Member

Gets or sets the member name which will be used for filtering.

Declaration
public string Member { get; set; }
Property Value
System.String

MemberType

Gets or sets the type of the member that is used for filtering. Set this property if the member type cannot be resolved automatically. Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow. Changing this property did not raise

Declaration
public Type MemberType { get; set; }
Property Value
System.Type

The type of the member used for filtering.

Operator

Gets or sets the filter operator.

Declaration
public FilterOperator Operator { get; set; }
Property Value
FilterOperator

Value

Gets or sets the target filter value.

Declaration
public object Value { get; set; }
Property Value
System.Object

Methods

CreateFilterExpression(ParameterExpression)

Creates a predicate filter expression.

Declaration
protected override 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.

Overrides
FilterDescriptorBase.CreateFilterExpression(ParameterExpression)

Equals(Object)

Determines whether the specified obj is equal to the current descriptor.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

Equals(FilterDescriptor)

Determines whether the specified other descriptor is equal to the current one.

Declaration
public virtual bool Equals(FilterDescriptor other)
Parameters
FilterDescriptor other

The other filter descriptor.

Returns
System.Boolean

True if all members of the current descriptor are equal to the ones of other, otherwise false.

GetHashCode()

Serves as a hash function for a particular type.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code for the current filter descriptor.

Serialize(IDictionary<String, Object>)

for internal use

Declaration
protected override void Serialize(IDictionary<string, object> json)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object> json

Overrides
FilterDescriptorBase.Serialize(IDictionary<String, Object>)

Extension Methods

FilterDescriptorExtensions.SetMemberTypeFrom(FilterDescriptor, Object)
Getting Started
  • Client-side Blazor
  • Server-side Blazor
  • Demos
Community
  • Forums
  • Blogs
  • Feedback Portal
Support Resources
  • Demos
  • Knowledge Base
  • Samples Repo
  • Localizations Repo
Sample Applications
  • Dashboard
  • PWA - Stocks
  • PWA - Blazing Coffee Roasters

Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.