[英]XAML browser window control
We are running a Windows application built with XAML and C#. 我们正在运行使用XAML和C#构建的Windows应用程序。
We are using the web browser control as part of our application in which we are feeding a webpage into it controlled controlled in our CMS so we can control the content of the webpage. 我们将Web浏览器控件用作应用程序的一部分,在该应用程序中,我们将网页输入到CMS中受控的控件中,以便我们可以控制网页的内容。
I did an alert to see what version the built in browser was for our XAML project. 我发出警报以查看XAML项目的内置浏览器版本。 The browser ended up being MSIE 7. BIG NO NO.
浏览器最终是MSIE 7。 We want to be able to use some more modern web languages like HTML 5 that feeds the page.
我们希望能够使用一些更现代的Web语言(例如HTML 5)来填充页面。
Is there a way to update the browser window IE version or a way to tell the browser window control to use Chrome or other browser instead of the default one? 有没有更新浏览器窗口IE版本的方法,或告诉浏览器窗口控件使用Chrome或其他浏览器而不是默认浏览器的方法?
Thanks. 谢谢。
Carlos 卡洛斯
As far as I remember in WinForms, the WebBrowser
version was the same as the version of IE installed on that machine, I'm assuming it's still the same in WPF. 据我记得在WinForms中,
WebBrowser
版本与该计算机上安装的IE版本相同,我假设在WPF中它仍然相同。 And no, you can't change the default control to use Chrome. 不,您不能将默认控件更改为使用Chrome。 There is however, a .NET implementation of Chromium which according to its documentation supports HTML5 as well.
但是,存在Chromium的.NET实现 ,根据其文档,它也支持HTML5。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.