I'm looking for the WebView2 FrameNavigationCompleted Event in VB.NET. I couldn't find any examples. So far i have this:
Async Sub InitializeAsync()
Await MyWebView.EnsureCoreWebView2Async()
AddHandler MyWebView.CoreWebView2.FrameNavigationCompleted, AddressOf MyWebView.FrameNavigationCompleted
End Sub
Private Sub MyWebView_FrameNavigationCompleted(sender As Object, e As CoreWebView2NavigationCompletedEventArgs)
End Sub
But it's giving me the error 'FrameNavigationCompleted' is not a member of 'WebView2'
Could someone please give me a full code example? Thanks!