有谁知道如何添加缺少的工具箱功能? [英] Does anybody know how can I add missing toolbox features?

查看:64
本文介绍了有谁知道如何添加缺少的工具箱功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图找到"datagridview"。在工具箱下,但我找不到它,我唯一看到的是DataGrid和DatePicker。我想知道是否有一个包我丢失下载。 

I've been trying to find "datagridview" under toolbox, but I can't find it, the only thing I see is DataGrid and DatePicker. I want to know if there is maybe a package there I am missing downloading. 

推荐答案

Hi Cg_MS,

欢迎来到MSDN论坛。

你的项目类型是什么?

就我而言知道,
DataGridView 是一个Windows窗体控件,不能直接在WPF窗口中使用。对于WPF项目,您可以查看并使用
DataGrid 控件。如下面的截图所示。 (第1张图片是Win Form应用程序,第2张图片是WPF应用程序)

As far as I know, DataGridView is a windows forms control and cannot be used in a WPF window directly. For a WPF project you can see and use DataGrid control. as shown in the following screenshot. (no.1 pic is Win Form app, no.2 pic is WPF app)

如果你有一个Win Form应用程序项目,但仍然不是DataGridView控件。请转到控制面板 - >程序和功能 - >选择VS - >右键单击"更改"
- "修复" - >重新打开你的项目进行测试。

祝你有个美好的一天
J

最好的问候

5月


这篇关于有谁知道如何添加缺少的工具箱功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆