摘要:
参考文章:http://www.mysjtu.com/page/M0/S590/590938.html第一种方法:修改容器的根元素此方法常用于同页面栏目导航,举例:.xaml页<Grid x:Name="LayoutRoot"></Grid>.cs页LayoutRoot.Children.Clear();LayoutRoot.Children.Add(new Page());导航(添加)新页或新控件之前必须清空根元素的子元素,不然根元素的子控件或页还存在。第二种方法:修改RootVisual此方法常用于页面间导航,举例:App.cspublic Gr 阅读全文
posted @ 2012-10-18 16:23
无忧岛主
阅读(185)
评论(0)
推荐(0)
浙公网安备 33010602011771号