Intersoft ClientUI Documentation
Filter Property
See Also  Send Feedback
Intersoft.Client.Data.ComponentModel Namespace > PagedCollectionView Class : Filter Property






Gets or sets a callback that is used to determine whether an item is suited for inclusion in the view.

Syntax

Visual Basic (Declaration) 
Public Property Filter As Predicate(Of Object)
Visual Basic (Usage)Copy Code
Dim instance As PagedCollectionView
Dim value As Predicate(Of Object)
 
instance.Filter = value
 
value = instance.Filter
C# 
public Predicate<object> Filter {get; set;}
Delphi 
public read-write property Filter: Predicate; 
JScript 
public function get,set Filter : Predicate
Managed Extensions for C++ 
public: __property Predicate<Object*>* get_Filter();
public: __property void set_Filter( 
   Predicate<Object*>* value
);
C++/CLI 
public:
property Predicate<Object^>^ Filter {
   Predicate<Object^>^ get();
   void set (    Predicate<Object^>^ value);
}

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 . Check the property to test whether filtering is supported before assigning a non-null value.
System.InvalidOperationException is true.-or- is true.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.