WPF WebBrowser Control: which browser does it use?

Does the WPF WebBrowser control always use Internet Explorer, or does it use the default web browser on the system?

Regards, MadSeb

+6
internet-explorer wpf webbrowser-control
source share
2 answers

Internet Explorer, although there are hacks on the Internet that allow you to use a workaround to launch any browser that you like.

This thread seems to explain one possible solution.

+7
source share

One of the problems that the web browser manages is that it is constantly stuck in IE 7's default rendering mode. Although IE 8 and now 9 have significantly improved IE's rendering engine so that more CSS and HTML are compatible by default, the web browser control will not have anything. IE 9 in particular - thanks to significantly improved CSS support and basic HTML 5 support - is a big improvement, and although IE control uses some internal rendering technology, IE is still stuck in the old IE 7 rendering by default.

This applies regardless of whether you use a web browser control in a WPF application, a WinForms application, a FoxPro application, or a VB classic application that uses an ActiveX control. Behind the scenes, all of these user interface platforms use COM interfaces, and so you follow the same rules.

See this: Web Browser Management - Specifying IE Version

http://www.west-wind.com/weblog/posts/2011/May/21/Web-Browser-Control-Specifying-the-IE-Version

+11
source share

All Articles