0

enter image description here

Like this capture's source code, I want to use NavigationService's GoBack() method when my gesture is recognized. (this source code is MainWindows.Gestures.cs)

But, When I use GoBack() method in somethig.xaml, there is not exception.

I added all reference. please help me.

toha
  • 4,097
  • 3
  • 31
  • 49
  • 1
    Possible duplicate of [What is a NullReferenceException, and how do I fix it?](http://stackoverflow.com/questions/4660142/what-is-a-nullreferenceexception-and-how-do-i-fix-it) – Mostafiz Oct 10 '16 at 10:09
  • Obviously `NavigationService` is null, but we can´t guess *why* it is because you didn´t provide the code where you declare and set this variable. – HimBromBeere Oct 10 '16 at 10:28

0 Answers0