SIlverlight WP7切换屏幕

时间:2010-10-20 14:06:40

标签: silverlight windows-phone-7

如何在WP7上的silverlight中以编程方式在屏幕之间切换?谢谢

2 个答案:

答案 0 :(得分:8)

NavigationService.Navigate(new Uri("/NextView.xaml", UriKind.Relative));

答案 1 :(得分:1)

您可以使用导航器执行此操作:

this.NavigationService.Navigate(new Uri("/Views/Whatever.xaml"), UriKind.Relative));