private void OnSearchPaneResultSuggestionChosen(SearchPane sender, SearchPaneResultSuggestionChosenEventArgs args) { var id = int.Parse(args.Tag); var result = _cities.Single(x => x.Id == id); var info = new ClockInfo { CityName = result.Name, TimeZoneId = result.TimeZoneId, CountryCode = result.CountryCode, CountryName = result.CountryName }; AddClock(info); }
private void OnResultSuggestionChosen(SearchPane sender, SearchPaneResultSuggestionChosenEventArgs e) { // Handle the selection of a result suggestion since the XML Suggestion Format can return these. MainPage.Current.NotifyUser("Result suggestion selected with tag: " + e.Tag, NotifyType.StatusMessage); }
private void NavigateToProductGroup(SearchPane sender, SearchPaneResultSuggestionChosenEventArgs args) { var productGroupFriendlyUrl = args.Tag; _onResultSuggestionChosen(productGroupFriendlyUrl); }
private void SearchPaneOnResultSuggestionChosen(SearchPane sender, SearchPaneResultSuggestionChosenEventArgs args) { this.NavigateToTagAsync(args.Tag); }
void OnSearchSuggestionChosen( SearchPane sender, SearchPaneResultSuggestionChosenEventArgs args) { NotifyUser("Recommendation picked: " + args.Tag); }