开发者

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))
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜