Error!
Success!

Filtering collections from XAML using CollectionViewSource

0
kicks

Filtering collections from XAML using CollectionViewSource  (Unpublished)

I find that I often run into the need of separating a collection of items into several collections just so I can bind them to multiple listboxes, for example a list of sessions spanning several tracks and each track is shown in his own listbox in a pivotitem. To get this done you can start by adding multiple collections to your viewmodel and divide the items there. However this makes your viewmodel very big in a very short time. A better way to do this is using CollectionViewSource items in XAML. Let me show you how.


Kicked By:
Drop Kicked By: