WPF用户控件中的Windowsformhost [英] Windowsformhost in WPF usercontrol

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

问题描述

您好,

我想知道是否可以将WindowsFormHost放入WPF用户控件中

如果是,请查看方式。

谢谢。



我的尝试:



我有成功将控件置于WPF窗口

Hello,
Pls i want to know if its possible to place a WindowsFormHost in a WPF Usercontrol
if yes, pls how.
Thank you.

What I have tried:

I have successfully placed the Control in a WPF Window

推荐答案

您好,您是否尝试过教程?

wpf-tutorial.com [ ^ ]是关于使用开箱即用的WPF控件的标准任务的任何问题的绝佳来源。



尝试按照教程中的步骤操作,告诉我们什么不起作用。请提供一些示例XAML,因为我们无法看到您的屏幕或访问您的硬盘。
Hi there, have you tried following a tutorial?
wpf-tutorial.com[^] is a great source for any questions regarding standard tasks with the out-of-the-box WPF controls.

Try following the steps in the tutorial, and tell us what did not work. And please supply some example XAML, since we can't see your screen or access your HDD.


这篇关于WPF用户控件中的Windowsformhost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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