troubleshooting Question

C# WPF Bind a single GridViewColumn to a list of items

Avatar of lambch0p
lambch0pFlag for Afghanistan asked on
.NET ProgrammingC#
3 Comments1 Solution540 ViewsLast Modified:
Hi,

I have a list of custom objects.  One of the properties (called 'Names' for instance) in that object is a List<string> containing peoples names.

I want to bind my list of custom objects to the gridview, but would like the 'Names' column for each row to display all the names in the Names property (preferably formatted as comma separated).

I.E

DATE               TOPIC                NAMES
12/01/13          Cheese          Bill, Mickey, Karen,John
14/03/13          Armadillos     Arthur, Albert, Susan, Helen, Mark

I'm using MVVM, so any solution should take that into account.

Thanks

Mick
ASKER CERTIFIED SOLUTION
lambch0p

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros