WP7: navigating to custom made page
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 b开发者_如何学编程ack key press event on the new page, because the mainpage's backkeypress event is fired instead :(
Try
Page.NavigationService.Navigate(new Uri("/yourpage.xaml", UriKind.Relative))
精彩评论