CoreWebView2.HistoryChanged Event

Definition

HistoryChanged is raised for changes to joint session history, which consists of top-level and manual frame navigations.

public event EventHandler<object> HistoryChanged;
member this.HistoryChanged : EventHandler<obj> 
Public Custom Event HistoryChanged As EventHandler(Of Object) 

Event Type

Remarks

Use HistoryChanged to verify that the CanGoBack or CanGoForward value has changed. HistoryChanged is also raised for using GoBack() or GoForward(). HistoryChanged is raised after SourceChanged and ContentLoading. CanGoBack is false for navigations initiated through CoreWebView2Frame APIs if there has not yet been a user gesture.

Applies to

See also