+ 1
Listview or Grid WPF
I need to show some data in a table. With a header, columns, rows and so on. I have the data in a observable collection. Should I use a Listview or a grid Currently I am using a stackpanel with textblock, it does work but does not look nice.
2 Antworten
+ 1
Out of the box a ListView will work/look the best. With some heavy setup, a header template and column style, it can be very nice.. There is also a DataGrid which will be very similar to an excel table without any modification.
+ 1
Grid is more flexible.