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??
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit GuptaRank #190 · 12.8K reputationPosted Mar 29, 2017, 12:25 PM EDT
Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Mar 29, 2017, 11:24 AM EDT
Devendra KumarRank #2,966 · 487 reputationPosted Mar 29, 2017, 11:57 AM EDT
Devendra KumarRank #2,966 · 487 reputationPosted Mar 30, 2017, 5:43 AM EDT