C# Silverlight 3 - Programmatically Navigate Between Pages?

后端 未结 5 1317
余生分开走
余生分开走 2021-01-02 11:28

Say I have a C# Silverlight 3 application with a number of pages. The first page is called Home, and the second page is called Details. The only way to navigate to details i

5条回答
  •  伪装坚强ぢ
    2021-01-02 11:43

    Have you tried the NavigationService?

    this.NavigationService.Navigate(new Uri("Details.xaml", UriKind.Relative));

提交回复
热议问题