Collection Views

After binding to a collection of data, you can sort, filter, or group the data using a collection view. A collection view is like a layer on top of a binding source collection, enabling you to navigate and display the source collection based on sort, filter, and group queries, without having to change the underlying source collection itself.

If a source collection implements the INotifyCollectionChanged interface, the changes raised by the CollectionChanged event are propagated to the views. A source collection can have multiple views associated with it.

Sorting and Grouping Using a CollectionView

Although WPF supports several CollectionView classes such as ListCollectionView and Binding ListCollectionView, Silverlight supports grouping ...

Get XAML Developer Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.