/// <summary> /// Event handler for the RecognitionResultsUpdated event. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// <remarks> /// Displays handwriting recognition results from DrawingPanel. /// </remarks> private void DrawingPanel_RecognitionResultsUpdated(object sender, RecognitionResultUpdatedEventArgs e) { RecognitionResultsTextBlock.Text = string.Empty; if (e.Results != null) { foreach (var result in e.Results) { RecognitionResultsTextBlock.Text += result + " "; } } }