Partilhar via


CoreWebView2.FrameNavigationStarting Event

Definition

FrameNavigationStarting is raised when a child frame in the WebView requests permission to navigate to a different URI.

public event EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs> FrameNavigationStarting;
member this.FrameNavigationStarting : EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs> 
Public Custom Event FrameNavigationStarting As EventHandler(Of CoreWebView2NavigationStartingEventArgs) 

Event Type

Remarks

Redirects raise this operation as well, and the navigation id is the same as the original one. You may block corresponding navigations until the event handler returns.

Applies to