2013-01-11 23 views

回答

0

您可以使用标准的navitaion:

this.NavigationService.Navigate(new Uri("PanoramaPage1.xaml?buttonid=button1",UriKind.Relative)); 

通过你的目标对象varible然后在panomarama页面处理:

protected override void OnNavigatedTo(NavigationEventArgs e) 
{ 
    if (this.NavigationContext.QueryString.ContainsKey("buttonid") 
    { 
     string buttonid = this.NavigationContext.QueryString[ "buttonid" ]; 
    } 
} 
+0

错误:方法'导航'没有超载需要2个参数 – Quak

+0

请给我一些工作代码,我不明白是:( – Quak

+0

好吧,所以我现在有我的参数,我可以使用'if(parameter.Equals(“1”)NAVIGATE_TO_ITEM1;其他NAVIGATE_TO_ITEM2;'但我如何导航到全景物品? – Quak

相关问题