WPF应用程序中的WebBrowser控件的叠加层? [英] overlay for WebBrowser control in WPF application?

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

问题描述

能给我一个提示,如何在我的WPF应用程序的WebBrowser控件中显示覆盖控件"吗?我想将导航图形显示为覆盖图,以便用户可以选择一个功能,并在选择它后消失导航控件.

can give somebody me a hint how to display "overlay controls" in the WebBrowser control in my WPF application? I'd like to display navigation graphics as overlay so the user can select a function and the navigation controls disapear after selecting it.

暂时还没有真正的WPF经验. :(我不知道从哪里开始.任何提示或链接都很好.谢谢

not really experienced in WPF for now. :( i have no idea where to start. any hint or link would be great. thank you

推荐答案

这将有问题. WPF浏览器控件存在空域"问题.基本上,这意味着您不能在浏览器控件的顶部放置任何内容.

There are going to be issues with this. there are "airspace" issues with the WPF browser control. basically, it means you can't put anything over the top of the browser control.

解决方法是将覆盖的控件放入弹出控件.

The work around is to put your overlaid controls into a popup control.

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

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