C# Silverlight 3 - Programmatically Navigate Between Pages?

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

    Try using this. This worked for me.

    ((System.Windows.Controls.Frame)(this.Parent)).Navigate(new Uri("/Import",UriKind.Relative));

提交回复
热议问题