skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

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

    Mobile

    UI for .NET MAUI

    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 Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

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

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • 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 a filter descriptor of the form Member-Operator-Value.

Inheritance
System.Object
InheritanceContextPropagator
DescriptorBase
FilterDescriptorBase
OperatorValueFilterDescriptorBase
FilterDescriptor
ChartFilterDescriptor
Inherited Members
OperatorValueFilterDescriptorBase.OperatorProperty
OperatorValueFilterDescriptorBase.ValueProperty
OperatorValueFilterDescriptorBase.IsCaseSensitiveProperty
OperatorValueFilterDescriptorBase.Operator
OperatorValueFilterDescriptorBase.Value
OperatorValueFilterDescriptorBase.IsCaseSensitive
OperatorValueFilterDescriptorBase.CultureInfo
OperatorValueFilterDescriptorBase.UnsetValue
FilterDescriptorBase.CreateFilterExpression(Expression)
DescriptorBase.OnPropertyChanged(PropertyChangedEventArgs)
DescriptorBase.OnPropertyChanged(String)
DescriptorBase.SuspendNotifications()
DescriptorBase.ResumeNotifications()
DescriptorBase.NotificationsSuspended
DescriptorBase.PropertyChanged
InheritanceContextPropagator.CreateInstanceCore()
InheritanceContextPropagator.FreezeCore(Boolean)
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll

Syntax

public class FilterDescriptor : OperatorValueFilterDescriptorBase, ISuspendNotifications, IFilterDescriptor, INotifyPropertyChanged

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.

FilterDescriptor(String, FilterOperator, Object, Boolean)

Initializes a new instance of the FilterDescriptor class.

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

The member.

FilterOperator filterOperator

The filter operator.

System.Object filterValue

The filter value.

System.Boolean caseSensitive

If set to true indicates that this filter descriptor will be case sensitive.

FilterDescriptor(String, FilterOperator, Object, Boolean, Type)

Initializes a new instance of the FilterDescriptor class.

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

The member.

FilterOperator filterOperator

The filter operator.

System.Object filterValue

The filter value.

System.Boolean caseSensitive

If set to true indicates that this filter descriptor will be case sensitive.

System.Type memberType

The Type of the member.

FilterDescriptor(String, FilterOperator, Object, CultureInfo)

Initializes a new instance of the FilterDescriptor class.

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

The member.

FilterOperator filterOperator

The filter operator.

System.Object filterValue

The filter value.

System.Globalization.CultureInfo cultureInfo

The culture of the filter descriptor.

Fields

MemberProperty

Identifies the Member dependency property.

Declaration
public static readonly DependencyProperty MemberProperty
Field Value
System.Windows.DependencyProperty

Properties

IsActive

Gets a value indicating whether this filter is active. A filter is considered active if its Value is different from OperatorValueFilterDescriptorBase.UnsetValue.

Declaration
public override bool IsActive { get; }
Property Value
System.Boolean

A value indicating whether this filter is active.

Overrides
OperatorValueFilterDescriptorBase.IsActive
Remarks

A filter is considered active if its Value is different from OperatorValueFilterDescriptorBase.UnsetValue.

IsSearchWithAccentEnabled

Specifies if search with accent is enable.

Declaration
public bool IsSearchWithAccentEnabled { get; set; }
Property Value
System.Boolean

Member

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

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

The member that will be used for filtering.

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 does not raise PropertyChanged event.

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

The type of the member used for filtering.

Methods

CreateFilterExpression(ParameterExpression)

Creates a predicate filter expression used for collection filtering.

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)
Remarks

Creates a predicate filter expression.

ToString()

Declaration
public override string ToString()
Returns
System.String

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 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.