Reputation: 1233
The inclusion of DataGrid and DatePicker controls was announced for WPF in Framework 4, but when I access to Visual Studio 2010 and I create a WPF project, I don't get these controls. What did I miss? Thanks.
Upvotes: 1
Views: 1188
Reputation: 38130
Have you made sure the target Framework is set to be v4? They should "just show" in the toolbox if you're targeting v4 of the framework.
Upvotes: 0
Reputation: 3459
I hope I understood your problem, so here we go... Instead of the DataGrid you can use the ListView with ListView.View set to a GridView. After this you have to create a couple of GridViewColumn objects, set their binding and then add them to the GridView.
I have an example of doing this (but i don't think it is the best one, because i'm kind of new to this programming stuff). If you want I could post it here.
Upvotes: 1