I use navigation services in WPF. To go to the page, I use:
this.NavigationService.Navigate(new MyPage());
To return, I use:
this.NavigationService.GoBack();
But how can I return to the first page (the "Home" button) without using
this.NavigationService.Navigate(new FirstScreen());
Because I donโt want to create a new first page, just go back to it? And I do not always open new screens in the same order.
source share