您的位置:首页 > 其它

navigate frame框架

2015-10-01 23:36 162 查看
string uriText = String.Format("/Product.xaml?productID={0}&type={1}", productID, productType);
mainFrame.Navigate(new Uri(uriText), UriKind.Relative);


  

int productID, type;
if (this.NavigationContext.QueryString.ContainsKey("productID"))
productID = Int32.Parse(this.NavigationContext.QueryString[ "productID"]);
if (this.NavigationContext.QueryString.ContainsKey("type"))
type = Int32.Parse(this.NavigationContext.QueryString[ "type"]);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: