Esempio n. 1
0
 /// #######################################################################################
 ///  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);
     }
 }
Esempio n. 2
0
        private void AutoSuggestBox_GotFocus(object sender, RoutedEventArgs e)
        {
            AutoSuggestBox box = sender as AutoSuggestBox;

            box.ItemsSource = CoinAutoSuggestBox.FilterCoins(box);
        }