Dynamic LongListSelector

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.
LVL 1
DodsworthAsked:
Who is Participating?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.