Thomas Levesque 11/30/2011

[WPF] Using Linq to shape data in a CollectionView

Read Original

This article explores a method to replace the standard, somewhat clumsy WPF ICollectionView shaping (using Filter, SortDescriptions) with a LINQ-based syntax. It demonstrates how to create a wrapper that allows developers to use familiar LINQ operators like Where, OrderBy, and GroupBy in a strongly-typed manner to define view shaping, which is then applied efficiently to the underlying CollectionView.

[WPF] Using Linq to shape data in a CollectionView

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week