XElement xmlScan = XElement.Parse(e.Result); listBox1.ItemsSource = from channel in xmlScan.Descendants("item") select new ScanItem { title = channel.Element("title").Value, description = strip2(strip(channel.Element("description").Value)), };
private void ListBox1_SelectionChanged(object sender, SelectionChangedEventArgs e) { NavigationService.Navigate(new Uri("/DetailsPage.xaml?selectedItem=" + MainListBox.SelectedIndex, UriKind.Relative)); }
NavigationService.Navigate(new Uri("/DetailsPage.xaml?selectedItem=" + ((ScanItem)MainListBox.SelectedItem).title, UriKind.Relative));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)