Solved

Dynamic LongListSelector

Posted on 2014-01-28
1
275 Views
Last Modified: 2014-11-12
I'm looking for a way to use a LongListSelector in WP8 to display data regardless of the number of fields in that data.

So if I set the .ItemSource to a List(of FirstNameSurnameNameClass) it displays a column for FirstName and SurnameName.

But if I set the .ItemSource to a List(of FirstNameMiddleNameSurnameClass) it displays a column for FirstName, MiddleName and SurnameName.

Basically I want to be able to throw any old .ItemSource at the LLS and all the fields in said .ItemSource to be displayed.
0
Comment
Question by:Dodsworth
1 Comment
 
LVL 11

Accepted Solution

by:
jasonduan earned 500 total points
ID: 39824195
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question