Freigeben über


CoreWebView2.SourceChanged Event

Definition

SourceChanged is raised when the Source property changes.

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

Event Type

Remarks

SourceChanged is raised when navigating to a different site or fragment navigations. It is not raised for other types of navigations such as page refreshes or history.pushState with the same URL as the current page. This event is raised before ContentLoading for navigation to a new document.

Applies to

See also