How to determine direction of navigation from IE WebBrowser (IHtmlWindow2 or Javascript)
- by Geoff Cox
I'm uisng the WPF Web Browser control and when it fires the Navigating event, the event args always contain NavigationMode.New. It should be set to NavigationMode.Back if the user chooses to 'Go Back' from the web control.
So its off to the COM ActiveX control underneath to determine the direction of navigation. I've been looking at IHtmlWindow2…