Page1点击跳转Page2:
private void myListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
object o = listBox.SelectedItem;
if (o == null)
return;//这两句必须有
string aaa = o.ToString();
Page2 page2 = new Page2(aaa, whichOne);
this.NavigationService.Navigate(page2, UriKind.Relative);
}
Page2 点击跳转返回Page1:
if (NavigationService.CanGoBack)
{
NavigationService.GoBack();
}
这样,返回后再次点击该条,即可再次触发SelectionChanged()