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