C# Silverlight 3 - Programmatically Navigate Between Pages?

后端 未结 5 1312
余生分开走
余生分开走 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:46

    C# App.Current.Host.NavigationState = "/Welcome";

    XAML

提交回复
热议问题