This project has moved. For the latest updates, please go here.
Project Description

This project aims to implement classes similar to CompositeCollection for Windows Store.

A NuGet-Package is also available.

How to use

<ListBox Name="list" Margin="30" >
            <ListBox.ItemsSource>
                <mcc:CompositeCollection>
                    <mcc:CompositeCollection.Composition>
                        <mcc:CollectionContainer Collection="{Binding Back, Source={StaticResource Object1}}" />
                        <ListBoxItem>uaeuia</ListBoxItem>
                    </mcc:CompositeCollection.Composition>
                </mcc:CompositeCollection>
            </ListBox.ItemsSource>
        </ListBox>

For the Itemssource specify the CompositCollection. Add all items you want to display to the Composition property. If you want to add one or more collections, define a CollectionsContainer and set the Collection property.

Be careful to use a StaticResource to bind against. Binding against the Datacontext dose not work.

Last edited Jul 28, 2014 at 12:43 PM by LokiMidgard, version 7