how to get datagrid control in wpf visual studio 2010
how do we get the datagrid control in wpf visual studio 2010....I mean how to add the datagrid control to the wpf default controls..if I directly typ开发者_开发问答e tag in my xaml code, it's giving an error to check the reference assembly that needs to be added.. could anyone please help me out to resolve it...
You can find it at the Common WPF Controls section in your Toolbox as you can see below. Just drag-and-drop it into your window designer and everything will be okay:
Update
Then do the following steps:
- Right click on your Toolbox and click on Choose Items...
- Filter the long list on the opened form by typing DataGrid as you can see on the image below:
精彩评论