The HistoryChanged event occurs whenever the browsing
history changes and the value of the CanGoBack and
CanGoForward properties will be updated. Navigating to a new page,
using the GoBack or GoForward methods, or
programmatically calling navigation functions can trigger this event.
Your application can respond by enabling or disabling UI elements such
as toolbar buttons depending on whether it is possible to go back or
forward.