我将默认的overview.xaml 加载到带有列表视图的框架中,并且我想重定向到我双击的项目的详细信息页面。但是如何教详细信息页面双击了哪个项目?
void ListView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
{
//send post info of selected item or similar missing...
this.Content = "Details.xaml";
}
洛松:
this.NavigationService.Navigate(new Details(selectedItem)); //Details has a Constructor