CollectionViewSource in windows metro application

I have a collection for which I need 3 different types
1. All collection data
2. Grouped data (grouping criteria will change during the application life cycle)
3. Filtered data (filter criteria will change during the application life cycle)

I want all the views to be associated with the same collection, so that any changes to the collection are synchronized with all the views.

In WPF, this can be achieved using CollectionViewSource .
In modern user interface applications, CollectionViewSource still exists, but with limited capabilities. It does not have SortDescription and FilterDescription.

How to achieve collection synchronization in modern user interface applications?

+5
source share
1 answer

You will probably be asked to sort, group, and filter using LINQ in WinRT. CollectionViewSourceappears to provide a common view for sharing between controls.

Source

+2
source

All Articles