Represents a collection of FilterPredicate objects.
Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class FilterPredicateCollection : ObservableCollection<FilterPredicate>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, INotifyPropertyChangingEx
Inheritance: objectCollection<FilterPredicate>ObservableCollection<FilterPredicate>FilterPredicateCollection
Implements:
Inherited Members
Constructors
public FilterPredicateCollection()
Methods
Creates a new FilterPredicate object using the parameters and adds it to the collection.
public void Add(FilterExpression.BinaryOperation binaryOperator, GridKnownFunction function, params object[] values)
The binary operator used in the filter predicate.
functionGridKnownFunctionThe GridKnownFunction used in the filter predicate.
valuesobject[]The values used in the filter predicate.
Adds a collection of FilterPredicate objects.
public override void AddRange(IEnumerable<FilterPredicate> predicates)
The collection of FilterPredicate objects.
Overrides:
Adds a collection of FilterPredicate objects.
public void AddRange(params FilterPredicate[] predicates)
The collection of FilterPredicate objects.
Finds a FilterPredicate objects by value.
public FilterPredicate FindByValue(object value)
The value to look for.
Returns:The first matching FilterPredicate object. Null if there are none.
Removes a collection of FilterPredicate objects.
public override void RemoveRange(IEnumerable<FilterPredicate> predicates)
The collection of FilterPredicate objects.
Overrides:
Removes a collection of FilterPredicate objects.
public void RemoveRange(params FilterPredicate[] predicates)
The collection of FilterPredicate objects.