开发者

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:

how to get datagrid control in wpf visual studio 2010


Update

Then do the following steps:

  1. Right click on your Toolbox and click on Choose Items...

    how to get datagrid control in wpf visual studio 2010

  2. Filter the long list on the opened form by typing DataGrid as you can see on the image below:

    how to get datagrid control in wpf visual studio 2010

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜