/// <summary> /// The "Populating" event is called at each key press. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private async void AutoComp_Populating(object sender, Microsoft.Phone.Controls.PopulatingEventArgs e) { //Debug.WriteLine("Searching: " + viewModel.TrackName); e.Cancel = true; await viewModel.PerformSearch(); AutoComp.PopulateComplete(); }