WindowsFormsHost - 2个问题 [英] WindowsFormsHost - 2 questions

查看:295
本文介绍了WindowsFormsHost - 2个问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,搜索结果,1。有没有办法给WindowsFormsHost控件提供效果(比如阴影BitmapEffect)?

2。从WPF控件与WinForm控件交互的最佳实践是什么?反之亦然。

谢谢,


Alon

Hi,
 
1. Is there a way to give effects (like shadow BitmapEffect) to WindowsFormsHost control?

2. What is the best practice to interact with WinForm control from a WPF control? and vice versa.

thanks,


Alon

推荐答案

请你试试这个... < font color ="#a31515"size = 2>

can you please try this...

 











< WindowsFormsHost.BitmapEffect < font style ="colo r:blue">>
< DropShadowBitmapEffect />
< / WindowsFormsHost.BitmapEffect >
            <WindowsFormsHost.BitmapEffect> 
                <DropShadowBitmapEffect /> 
            </WindowsFormsHost.BitmapEffect> 


这篇关于WindowsFormsHost - 2个问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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