private void ListBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { if (e.AddedItems.Count > 0) { SessionSpeakers ss = e.AddedItems[0] as SessionSpeakers; if (ss != null) { Speaker speaker = ss.Speaker; SessionViewModel vm = this.DataContext as SessionViewModel; vm.SendSpeakerNavigatingMessage(speaker); ListBox listbox = sender as ListBox; listbox.SelectedIndex = -1; } NavigationService.Navigate(new System.Uri("/Views/SpeakerPage.xaml", System.UriKind.Relative)); } }