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.

Brian Lagunas

View all posts

Follow Me

Follow me on Twitter, subscribe to my YouTube channel, and watch me stream live on Twitch.