/// ####################################################################################### /// AutoSuggest-Box private void AutoSuggestBox_TextChanged(AutoSuggestBox box, AutoSuggestBoxTextChangedEventArgs args) { // Only get results when it was a user typing, // otherwise assume the value got filled in by TextMemberPath // or the handler for SuggestionChosen. if (args.Reason == AutoSuggestionBoxTextChangeReason.UserInput) { box.ItemsSource = CoinAutoSuggestBox.FilterCoins(box); } }
private void AutoSuggestBox_GotFocus(object sender, RoutedEventArgs e) { AutoSuggestBox box = sender as AutoSuggestBox; box.ItemsSource = CoinAutoSuggestBox.FilterCoins(box); }