Forum Discussion

jr348's avatar
jr348
Contributor
4 years ago
Solved

Is OnWebBeforeNavigate supported in Edge Chromium?

I recently migrated a project over from IE to Edge Chomium and the OnWebBeforeNavigate event handler no longer works.   This says it is fired only by browsers that use the Microsoft WebBrowser cont...
  • Marsha_R's avatar
    4 years ago

    From this Microsoft reference, I would say it does not.

     

    https://docs.microsoft.com/en-us/windows/communitytoolkit/controls/wpf-winforms/webview

     

    Can I simply swap out the Internet Explorer WebBrowser for Microsoft Edge WebViewControl in my application?

    No, the APIs differ significantly, as the WebViewControl represents several generations of browser development since the IE WebBrowser control was released.