C# Silverlight 3 - Programmatically Navigate Between Pages?

后端 未结 5 1313
余生分开走
余生分开走 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条回答
  •  -上瘾入骨i
    2021-01-02 11:51

    c#:

    this.navContent.Navigate(new Uri("Welcome", UriKind.Relative));
    

    XAML:

    
        
            
                
                
                
            
        
    
    

    Even your "details" page should be mapped (despite what you said.)

提交回复
热议问题