CoreWebView2.SourceChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.