在Windows窗体中使用WPF自定义控件? [英] Using WPF custom controls in Windows forms?

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

问题描述

我使用WPF在Expression Blend 4中做了一些自定义控件.但是,我需要在Windows窗体应用程序中使用它们.这可能吗?还是我不走运?

I made some custom controls in Expression Blend 4 using WPF. However, I need to use them in a Windows Forms application. Is this possible or am I out of luck?

推荐答案

您应该能够做到:在Microsoft Win32窗口中托管WPF内容
另请参见:如何在Windows Forms应用程序中托管WPF控件?

You should be able to do:Hosting WPF Content in a Microsoft Win32 Window
See also: How do I host a WPF control in a Windows Forms application?

这篇关于在Windows窗体中使用WPF自定义控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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