BernieApp.UWP.View.EventsPage.AutoSuggestBox_TextChanged C# (CSharp) Method

AutoSuggestBox_TextChanged() private method

private AutoSuggestBox_TextChanged ( AutoSuggestBox sender, AutoSuggestBoxTextChangedEventArgs args ) : void
sender AutoSuggestBox
args AutoSuggestBoxTextChangedEventArgs
return void
        private void AutoSuggestBox_TextChanged(AutoSuggestBox sender, 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)
            {
                //Set the ItemsSource to be your filtered dataset
                //sender.ItemsSource = dataset;
            }
        }