Reputation: 401
I'm making a simple program in Visual Studio C# for school and I'm using the WPF Controls. I'm making some type of monthly report that I need to visualize in a table with the columns that represent the days. The problem is that I don't know which control to use. I tried with with the ListBox but it does not give a good result to me. Thank you
Upvotes: 1
Views: 255
Reputation: 21015
So if I understand correctly you need a grid. If you use .net 4 you got a build in DataGrid If not download it from wpf toolkit or consider the use of listview with the view of a grid view
Upvotes: 2
Reputation: 6685
Sounds like you either want a datagrid, or an itemscontrol with a custom paneltemplate and itemstemplate.
Edit: If you aren't serious about learning WPF, stick with winforms, the learning curve is far easier. If you want to do any serious user interface work tho, keep working to learn WPF.
Upvotes: 2