Navigation services not working in WPF
Hello I am working on a WPF project, I am trying to stop navigating to another page without being saved to the current page, for this m using navigation service.navigating event and allowing e.Cancel =true but it gives me a null exception in navigation services.
How to achieve this??