microsoft/xaml-standard

Add CollectionView

insinfo opened this issue · 3 comments

CollectionView
A collection view displays an ordered collection of data items using standard or custom layouts. Similar to a table view, a collection view gets data from your custom data source objects and displays it using a combination of cell, layout, and supplementary views. A collection view can display items in a grid or in a custom layout that you design. Regardless of the layout style you choose, a collection view is best suited to display nonhierarchical, ordered data items.

collectionview 1
collectionview 2

How is this different from #166 or #168?

Hi @crutkas, the biggest difference I can see from a UICollectionView and a WrapPanel or UniformPanel is the layout has been already defined for you in both the WrapPanel and the UniformPanel while the UICollectionView allows you to override that and provide your own.

Look at @insinfo example at the top. There are a series of elements with different heights (same width) and reordering the elements does not give you any empty or unused space in the UI as a WrapPanel would give you.

@rodrigoelp Exactly, very well described