kairen
kairen

Reputation: 176

How to design UI for listviewitem

In winform, I want to create a listview displaying like this:

each row has a picture on the left, on the right it has Name upper and Phone below

I know in c#, listviewitem is only able to add text only, but is there a way or another component that can solve this ?

Upvotes: 2

Views: 86

Answers (1)

Sriram Sakthivel
Sriram Sakthivel

Reputation: 73482

UserControl for per person added in a FlowLayoutPanel can get you the desired appearance. Design your UserControl with image and couple of labels to make the single item appearance and add them in FlowLayoutPanel. You're done.

That said, It would be easy to do this in WPF if it is an option.

Upvotes: 1

Related Questions