CoreWebView2.HistoryChanged 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.
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.