Change IE version for the WPF Web Browser Control

While working on a desktop application, I found that the WPF WebBrowserControl by default renders the pages in IE7 mode. Even when we are running the application on a latest Windows machine (e.g. Windows 8 or Windows Server 2012), it still uses IE7. The problem is, most of the…