WPF控件和Windows普通控件
在 WinForms 项目中,有许多控件,例如 MenuStrip
、OpenFileDialog
、SaveFileDialog
。
快速浏览后,我似乎无法在 WPF 工具箱中看到这些控件的等效项。
有什么方法可以访问这些或者它们是否以其他形式存在?
In a WinForms project there are a number of controls such as MenuStrip
, OpenFileDialog
, SaveFileDialog
.
After a quick look, I can't seem to see the equivalents for these controls in the WPF toolbox.
Is there any way to gain access to these or do they exist in another form?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用许多不同的资源来查找所需的控件类型。
您是否查看过WPF 工具包?
您是否调查过任何第三方控制供应商?
(Telerik,DevExpress, ComponentOne , Infragistics)
这里有一个很好的链接,比较了 WinForms 和 WPF 控件的等效项。
如果您详细说明您正在寻找哪个控件,您可能会收到更详细的答案。
There are a number of different resources you can use for finding the type of control you need.
Have you looked in the WPF Toolkit?
Have you investigated any third party control vendors?
(Telerik, DevExpress, ComponentOne, Infragistics)
Here's an excellent link comparing the WinForms and WPF control equivalents.
You'd probably recieve a more detailed answer if you gave specifics as to which control you're looking for.
你可以在项目中添加一个 winforms 主机,但是你需要哪些控件,因为 wpf 确实有相当多的控件,并且通常在 ui 部门做更多的事情(但通常以速度为代价)
you can add a winforms host into the project but which controls are you after as the wpf does have a decent amount of controls and generally does more in the ui department (but pays in speed usually)