哦,我还真不知道,也要多谢你。可以这样做:给这个Url加一个随机的字符串作为参数,只要这个字符串不重复就会刷新页面,最简单有效的方法是用guid。代码如下:
NavigationService.Navigate(new Uri(string.Format(NavigationService.Source + "?RefreshRandom={0}", Guid.NewGuid()), UriKind.RelativeOrAbsolute);
this.NavigationService.Navigate(new Uri("/MainPage.xaml", UriKind.RelativeOrAbsolute));