Search code examples
wpfwpf-controlswebbrowser-control

Set WPF webbrowser control to use IE10 mode


How can I set the WPF webbrowser controls to render pages in iE10 mode or the higher version installed on a 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 me if I am wrong). How to enable the application to render the html pages in IE10 mode if IE10 is installed on the target machine?


Solution

  • 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?