A View or ViewModel can determine whether or not it can perform a navigation operation. When a ViewModel implements the IConfirmNavigation or the IConfirmNavigationAsync interface, the navigation process looks to see what the result of this method is. If true, a navigation process can be invoked, meaning a call to NavigationService.NavigateAsync(“target”) can be made. If false, the View/ViewModel cannot invoke the navigation process.
Twitter: https://twitter.com/brianlagunas
Blog: https://brianlagunas.com
GitHub: https://github.com/brianlagunas
Prism Library: http://prismlibrary.github.io/
Become a Patron: https://www.patreon.com/prismlibrary
Visit our Sponsor: https://bit.ly/prism-infragistics