Exemplo n.º 1
0
 private async void SpeechHandler(string speech)
 {
     await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
     {
         RecognisedText.Text = speech;
         Scroller1.ChangeView(null, Scroller1.ExtentHeight, null, false);
     });
 }
 private void ListView_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
 {
     if (e.Action == NotifyCollectionChangedAction.Add)
     {
         // scroll the new item into view
         Scroller1.ScrollToEnd();
         //listView.ScrollIntoView(e.NewItems[0]);
     }
 }