Reputation: 129
I created a new page, I have the skeleton in .xaml, but the content of the page is dynamically generated. How am I able to navigate to this page ? Is there another way than setting the root frame's content to the new page? In the latter case I cannot handle the back key press event on the new page, because the mainpage's backkeypress event is fired instead :(
Upvotes: 2
Views: 1407
Reputation: 18832
Try
Page.NavigationService.Navigate(new Uri("/yourpage.xaml", UriKind.Relative))
Upvotes: 2