Geeks With Blogs

News



Add to Google

Tim Hibbard CEO for EnGraph software
Using the CollectionViewSource is a good way of binding to a datasource and letting the XAML determine the sorting and grouping of the data. However, as your datasource changes, the grouping and sorting is not automatically "re-calculated", forcing your code to be smarter that it should be. I found a class today on MSDN forums that inherits from CollectionViewSource and adds automatic refresh capabilities. This code is smart enough to resort your items, regroup your items and even add new groupings as needed.

Some good CollectionViewSource links:


Posted on Tuesday, May 20, 2008 5:19 PM | Back to top


Comments on this post: WPF - CollectionViewSource that updates automatically

# re: WPF - CollectionViewSource that updates automatically
Requesting Gravatar...
The page is not available
Left by INTERESTING FACTS on Sep 27, 2012 11:51 PM

Your comment:
 (will show your gravatar)


Copyright © Tim Hibbard | Powered by: GeeksWithBlogs.net