Class
FilterDescriptorCollection

Definition

Namespace:Telerik.WinControls.Data

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class FilterDescriptorCollection : NotifyCollection<FilterDescriptor>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Inheritance: objectCollection<FilterDescriptor>NotifyCollection<FilterDescriptor>FilterDescriptorCollection

Derived Classes: GridViewFilterDescriptorCollectionListViewFilterDescriptorCollection

Implements: ICollectionIEnumerableIListINotifyCollectionChangedINotifyPropertyChanged

Inherited Members NotifyCollection<FilterDescriptor>.EmptyNotifyCollection<FilterDescriptor>.Move(int, int)NotifyCollection<FilterDescriptor>.AddRange(params FilterDescriptor[])NotifyCollection<FilterDescriptor>.AddRange(IEnumerable<FilterDescriptor>)NotifyCollection<FilterDescriptor>.BeginUpdate()NotifyCollection<FilterDescriptor>.EndUpdate()NotifyCollection<FilterDescriptor>.EndUpdate(bool)NotifyCollection<FilterDescriptor>.DeferRefresh()NotifyCollection<FilterDescriptor>.InsertItem(int, FilterDescriptor)NotifyCollection<FilterDescriptor>.SetItem(int, FilterDescriptor)NotifyCollection<FilterDescriptor>.RemoveItem(int)NotifyCollection<FilterDescriptor>.ClearItems()NotifyCollection<FilterDescriptor>.MoveItem(int, int)NotifyCollection<FilterDescriptor>.CreateEventArguments(NotifyCollectionChangedAction)NotifyCollection<FilterDescriptor>.CreateEventArguments(NotifyCollectionChangedAction, object, int)NotifyCollection<FilterDescriptor>.CreateEventArguments(NotifyCollectionChangedAction, object, object, int)NotifyCollection<FilterDescriptor>.OnCollectionChanged(NotifyCollectionChangedEventArgs)NotifyCollection<FilterDescriptor>.OnPropertyChanged(PropertyChangedEventArgs)NotifyCollection<FilterDescriptor>.OnPropertyChanged(string)NotifyCollection<FilterDescriptor>.VersionNotifyCollection<FilterDescriptor>.SuspendedNotifyCollection<FilterDescriptor>.CollectionChangedNotifyCollection<FilterDescriptor>.PropertyChangedCollection<FilterDescriptor>.Add(FilterDescriptor)Collection<FilterDescriptor>.Clear()Collection<FilterDescriptor>.CopyTo(FilterDescriptor[], int)Collection<FilterDescriptor>.Contains(FilterDescriptor)Collection<FilterDescriptor>.GetEnumerator()Collection<FilterDescriptor>.IndexOf(FilterDescriptor)Collection<FilterDescriptor>.Insert(int, FilterDescriptor)Collection<FilterDescriptor>.Remove(FilterDescriptor)Collection<FilterDescriptor>.RemoveAt(int)Collection<FilterDescriptor>.CountCollection<FilterDescriptor>.ItemsCollection<FilterDescriptor>.this[int]

Constructors

FilterDescriptorCollection()

Declaration

cs-api-definition
public FilterDescriptorCollection()

Properties

Expression

Gets or sets the expression.

Declaration

cs-api-definition
public virtual string Expression { get; set; }

Property Value

string

The expression.

LogicalOperator

Gets or sets the logical operator.

Declaration

cs-api-definition
[Browsable(true)]
public virtual FilterLogicalOperator LogicalOperator { get; set; }

Property Value

FilterLogicalOperator

The logical operator.

UseCaseSensitiveFieldNames

Gets or sets a value indicating whether fields with names that differ only in the casing should be considered different.

Declaration

cs-api-definition
public bool UseCaseSensitiveFieldNames { get; set; }

Property Value

bool

Methods

Add(string, FilterOperator, object)

Adds the specified property name.

Declaration

cs-api-definition
public void Add(string propertyName, FilterOperator filterOperator, object value)

Parameters

propertyName

string

Name of the property.

filterOperator

FilterOperator

The filter operator.

value

object

The value.

Contains(string)

Determines whether [contains] [the specified property name].

Declaration

cs-api-definition
public bool Contains(string propertyName)

Parameters

propertyName

string

Name of the property.

Returns

bool

true if [contains] [the specified property name]; otherwise, false.

IndexOf(string)

Indexes the of.

Declaration

cs-api-definition
public int IndexOf(string propertyName)

Parameters

propertyName

string

Name of the property.

Returns

int

Remove(string)

Removes the specified property name.

Declaration

cs-api-definition
public bool Remove(string propertyName)

Parameters

propertyName

string

Name of the property.

Returns

bool

Remove(string, Predicate<FilterDescriptor>)

Removes the specified property name.

Declaration

cs-api-definition
public bool Remove(string propertyName, Predicate<FilterDescriptor> predicate)

Parameters

propertyName

string

Name of the property.

predicate

Predicate<FilterDescriptor>

The predicate which determine weather the filter can be deleted.

Returns

bool