Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Prism Navigation - ConfirmNavigationRequest - Subscribe to continuationCallback

$
0
0

I'm using Prism to navigate through my app.  My views are navigation aware and typically prompted with a dialog on IConfirmNavigationRequest.ConfirmNavigationRequest.  The contuationCallback action is executed based on the response.

I need to know when continuationCallback is executed whether true or false is passed to it.

var region; //prism region

EventHandler<RegionNavigationEventArgs> handler = null;
handler = (s, e) => {
  // do something
};

/* Navigating event is raised after continuationCallback(true). I 
need an event that is raised for true or false. */
region.NavigationService.Navigating += handler;

Thanks,

Daniel


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>