将 WPF 网页浏览器控件设置为使用 IE10 模式 [英] Set WPF webbrowser control to use IE10 mode

查看:41
本文介绍了将 WPF 网页浏览器控件设置为使用 IE10 模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何设置 WPF 网页浏览器控件以在 iE10 模式或机器上安装的更高版本中呈现页面.默认情况下,如果我在 OS > windows 7 的任何机器上创建 .net 4 或 .net 4.5 应用程序,它只会在 IE7 模式下呈现 html 页面.(如果我错了请指正)如果目标机器上安装了 IE10,如何使应用程序以 IE10 模式呈现 html 页面?任何帮助

解决方案

您可以按照此处所述使用注册表:

http://msdn.microsoft.com/en-us/library/ie/ee330730%28v=vs.85%29.aspx

为了更好的解释,你也可以阅读这个答案IE9 网页浏览器控件是否支持 IE9 的所有功能,包括 SVG?>

How can i set the WPF webbrowser controls to render pages in iE10 mode or the higher version installed on machine . By default if i create a .net 4 or .net 4.5 application on any machine of OS > windows 7 , it renders the html pages in IE7 mode only. (Please correct if i am wrong) How to enable the application to render the html pages in IE10 mode if IE10 installed on target machine ? Any helps

解决方案

You can use the registry as described here:

http://msdn.microsoft.com/en-us/library/ie/ee330730%28v=vs.85%29.aspx

EDIT: for a better explanation you can read this answer too Will the IE9 WebBrowser Control Support all of IE9's features, including SVG?

这篇关于将 WPF 网页浏览器控件设置为使用 IE10 模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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