WPF ItemsControl Filter[close]
WPF ItemsControl Filter
WPF compatible
added 7/30/2008
From Url:  
or
Upload:
(*.zip file. Must be under 5MB)
Download downloaded 1151 times
(2 votes)
If you are working with an ItemsControl (ListBox, ComboBox, ListView), and you want to filter several items using Outlook 2007 search style, this control is exactly for you.

The Filter custom control is a HeaderedContentControl which its content is limited to have an ItemsControl of any kind.

Once a well bind, ItemsControl content is placed, the filter uses the default-view of the content to filter its items, based on a default, customizable search predicate. To change the default search predicate, you can set the Filter.SearchStrategy property to any delegate matches to the SearchPredicate signature. Also you can set the search pattern, by setting the Filter.SearchPattern property explicitly.

More details you can find at http://blogs.microsoft.co.il/blogs
Comments
Leave A Comment
Name:  
Website:  
Your Comments: (no HTML)
 
Enter the code shown:
Post Comment