dimanche 28 juin 2015

Multiline text in WPF ListView

I have a WPF ListView that I need to populate with some text data. I would like this text to be on multiple lines in each ListView row.

Example:

Person 1 | Address
Age:     | Address2

Person 2 | Address
Age:     | Address2

Etc.

I would like to also format the text, and for my purposes this would all be in a one-column ListView.

If multiline is not possible, is there a better control for displaying a vertical list of binded data that allows for selection as well?

Aucun commentaire:

Enregistrer un commentaire