CollectionViewSource

So as development continues on iMoney I looked at implementing a ‘grouping’ feature for the debits and credits.

Enter the CollectionViewSource.

Now I wont lie it took a while to wrap the grey matter around it but after some research and wine I established this code.

I then feed the monthSummaryCollectionGrouped object into the CollectionViewSource source.

And in the XAML, I used VisualStateManager to ensure the app can work across devices.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s