在Windows窗体中可以使用WPF中设计的按钮吗? [英] Can a button designed in wpf be used in windows forms?

查看:55
本文介绍了在Windows窗体中可以使用WPF中设计的按钮吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以将WPF(Xaml)中带有Expression Blend设计的按钮或任何其他用户控件制作为dll文件并在Windows窗体中使用吗???如果是这样,怎么办??

Can a button or any other user control designed in WPF(Xaml) with Expression Blend be made a dll file and used in windows forms???? If so, how????

推荐答案

否.您可以在WPF中使用Windows窗体控件,反之亦然.
No. You can use windows forms controls in WPF, but not vice versa.


http://www.switchonthecode.com/tutorials/wpf-tutorial-using-wpf- in-winforms [ ^ ]
http://msdn.microsoft.com/en-us/library/ms742215.aspx [ ^ ]
http://stackoverflow.com/questions/9473177/exporting-custom-wpf-buttons-from-wpf-application[^]
http://www.switchonthecode.com/tutorials/wpf-tutorial-using-wpf-in-winforms[^]
http://msdn.microsoft.com/en-us/library/ms742215.aspx[^]


这篇关于在Windows窗体中可以使用WPF中设计的按钮吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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