Intersoft ClientUI Documentation
Filter Property (PagedCollectionView)



Gets or sets a callback that is used to determine whether an item is suited for inclusion in the view.
Syntax
public Predicate<object> Filter {get; set;}
public:
property Predicate<Object^>^ Filter {
   Predicate<Object^>^ get();
   void set (    Predicate<Object^>^ value);
}
Public Property Filter As Predicate(Of Object)
 
Dim instance As PagedCollectionView
Dim value As Predicate(Of Object)
 
instance.Filter = value
 
value = instance.Filter

Property Value

A method that is used to determine whether an item is suited for inclusion in the view.
Exceptions
ExceptionDescription
System.NotSupportedExceptionThe implementation does not support filtering.Simpler implementations do not support filtering and will throw a System.NotSupportedException. Check the System.Windows.Data.PagedCollectionView.CanFilter property to test whether filtering is supported before assigning a non-null value.
System.InvalidOperationExceptionSystem.Windows.Data.PagedCollectionView.IsAddingNew is true.-or-System.Windows.Data.PagedCollectionView.IsEditingItem is true.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PagedCollectionView Class
PagedCollectionView Members

Send Feedback