Click here to Skip to main content
15,921,452 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I've gof a list of objects, each of which have a list of objects. I need to bind a listview item in such a way as to have one column represent a property in the min o ject, but the remainder of the columns represent values contained in the inner list. How would I go about doing this?
Afzaal Ahmad Zeeshan 21-Aug-15 11:05am    
What is the min o ject? I will take that as a typographical error. Anyways, you can always bind a single column to any property.
Afzaal Ahmad Zeeshan 21-Aug-15 11:29am    
John, I have reviewed your question and since you are having a List of list in C#, in XAML to represent that, you will need a ListView within ListView to handle the data also.

You can then add a DataTemplate (remember, I am talking about ItemTemplate, not View property) to the main ListView and add other elements to it. :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900