Hi guys. 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
+2
A:
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.
Firoso
2010-09-23 21:47:02
+1 for good advice! WPF is quite a bit tougher to learn, in my opinion (especially if you want to follow good practices...), but it's incredibly powerful.
djacobson
2010-09-23 21:51:21
If you have the knowledge and patience, there's nothing you can't do, but the same can be said about any toolset (mostly)
Firoso
2010-09-23 21:59:18
And if you are serious about WPF, inhale the MVVM pattern!
MrDosu
2010-09-23 22:04:09
I reccommend MVVMLight for a framework, easiest to learn.
Firoso
2010-09-23 22:10:02
+2
A:
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
Chen Kinnrot
2010-09-23 21:47:19