private void racbRvSearchBox_OnSuggestionSelected(object sender, SuggestionSelectedEventArgs e) { var returnVisitLlItemModel = e.SelectedSuggestion as ReturnVisitLLItemModel; if (returnVisitLlItemModel != null) { NavigationService.Navigate(new Uri(string.Format("/View/EditReturnVisit.xaml?id={0}", returnVisitLlItemModel.ItemId), UriKind.Relative)); } }
private void acbRvSearchBox_OnSuggestionSelected(object sender, SuggestionSelectedEventArgs e) { var returnVisitLlItemModel = e.SelectedSuggestion as ReturnVisitSummaryModel; if (returnVisitLlItemModel != null) { NavigationService.Navigate(new Uri(string.Format("/View/EditReturnVisit.xaml?id={0}", returnVisitLlItemModel.ItemId), UriKind.Relative)); } }
private void SearchBox_SuggestionSelected(object sender, SuggestionSelectedEventArgs e) { string selectedSuggestion = e.SelectedSuggestion as string; if (selectedSuggestion != null) { try { //Do some stuff Topic topic = (Application.Current as App).db.getTopicByTitle(selectedSuggestion); NavigationService.Navigate(new Uri("/Views/TopicItems.xaml?topicId=" + topic.id + "&topicTitle=" + topic.topic_title, UriKind.Relative)); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.Message); System.Diagnostics.Debug.WriteLine(ex.StackTrace); MessageBox.Show("Record Not Found."); } } }
private void SearchAutoCompleteBox_SuggestionSelected(object sender, SuggestionSelectedEventArgs e) { var entry = e.SelectedSuggestion as Entry; if (entry != null) { CalendarViewOnPage.Calendar.SelectedDate = entry.Time.Date; CalendarViewOnPage.Calendar.SelectedMonth = entry.Time.Month; CalendarViewOnPage.Calendar.SelectedYear = entry.Time.Year; CalendarViewOnPage.Calendar.Refresh(); // close menu if (_isMenuOpen) { CloseSettings(); } DateViewOnPage.SlideView.SelectedItem = entry; } }
private void acbSearch_SuggestionSelected(object sender, SuggestionSelectedEventArgs e) { lbLocos.BringIntoView(e.SelectedSuggestion); }
private void SearchBox_SuggestionSelected(object sender, SuggestionSelectedEventArgs e) { string selectedSuggestion = e.SelectedSuggestion as string; if (selectedSuggestion != null) { try { //Do some stuff Index index = (Application.Current as App).db.getIndexByTitle(selectedSuggestion); NavigationService.Navigate(new Uri("/Views/IndexItems.xaml?indexId=" + index.id + "&indexTitle=" + index.index_title, UriKind.Relative)); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.Message); System.Diagnostics.Debug.WriteLine(ex.StackTrace); MessageBox.Show("Record Not Found."); } } }