ClassFilterDescriptorCollection
Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Syntax:
public class FilterDescriptorCollection : NotifyCollection<FilterDescriptor>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Inheritance: objectCollection<FilterDescriptor>NotifyCollection<FilterDescriptor>FilterDescriptorCollection
Derived Classes:
Implements:
Inherited Members
Constructors
FilterDescriptorCollection()
Declaration
public FilterDescriptorCollection()
Properties
Expression
Gets or sets the expression.
Declaration
public virtual string Expression { get; set; }
Property Value
The expression.
LogicalOperator
Gets or sets the logical operator.
Declaration
[Browsable(true)]
public virtual FilterLogicalOperator LogicalOperator { get; set; }
Property Value
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
public bool UseCaseSensitiveFieldNames { get; set; }
Property Value
Methods
Add(string, FilterOperator, object)
Adds the specified property name.
Declaration
public void Add(string propertyName, FilterOperator filterOperator, object value)
Parameters
propertyName
Name of the property.
filterOperator
The filter operator.
value
The value.
Contains(string)
Determines whether [contains] [the specified property name].
IndexOf(string)
Indexes the of.
Remove(string)
Removes the specified property name.
Remove(string, Predicate<FilterDescriptor>)
Removes the specified property name.
Declaration
public bool Remove(string propertyName, Predicate<FilterDescriptor> predicate)
Parameters
propertyName
Name of the property.
predicate
The predicate which determine weather the filter can be deleted.
Returns