Web浏览器控件Winforms [英] Web Browser Control Winforms

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

问题描述

我想知道是否有一种方法可以使.net win窗体中的Web浏览器控件正确显示html5?

我想在Win Forms应用程序中预览一些使用html5生成的代码.
谢谢,

I am wondering if there is a way to make the web browser control in .net win forms display html5 correctly?

I am wanting to preview some code generated html5 with in a win forms app.
Thanks,

推荐答案

Web浏览器控件使您可以将IE嵌入到应用程序中,因此,除非IE提供对您拥有的HTML5功能的可视化支持,否则您将无法为此目的使用WebBrowser控件.

如果您安装 IE 9 [布局引擎(HTML5)的比较 [ WebKit .NET [ ^ ]

问候
埃斯彭·哈林(Espen Harlinn)
The web browser control lets you embed IE in your application, so until IE provides support for the HTML5 features you wnat to visualize, you will be unable to use the WebBrowser control for this purpose.

If you install IE 9[^] you might get what you want. You''ll just have to try and see :)

Maybe using webkit is an alternative
Comparison of layout engines (HTML5)[^]

Here is a .Net wrapper control:
WebKit .NET[^]

Regards
Espen Harlinn


不幸的是,就我所知(有限)而言,这是不可能的.

只是等到情况好转,并继续遭受所有兼容性问题的困扰. :((
出版物说有一个Google插件支持HTML5,您如何强制使用它?

我不确定IE9.您确实需要尝试确定这一点.
To best of my (limited) knowledge there is no way, unfortunately.

Just wait until situation gets better and keep suffering from all that compatibility issues. :((
Publications say there is a Google plug-in to support HTML5, by how would you enforce it use?

I''m not sure about IE9. You really need to try to know for sure.


我不确定网络浏览器控件的内在功能,但是如果您安装了IE9,我认为那也会改变表示控件的HTML5功能.毕竟,webrowser不是仅对系统中已经存在的基础IE进行一些.NET包装吗?

您的系统上已经安装了哪个IE版本?系统上已安装的IE版本与Webbrowser控件对HTML5的处理方式不同吗?

干杯!
I''m not to sure about the innards of the web browswer control, but if you have IE9 installed I thought that would also change the HTML5 capabilities of said control. After all isn''t the webrowser control just some .NET wrapper to the underlying IE that is already on the system?

What IE version do you have installed on your system? Does the installed IE version on your system handle HTML5 differently from the webbrowser control?

Cheers!


这篇关于Web浏览器控件Winforms的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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