I am trying to create a WPF application that has a richtextbox which accepts dictations from the user as its input.
I want to use this code for the SpeechRecognized event for an an object of the SpeechRecognitionEngine class.
private void speechRecognizer_SpeechRecognized(object sender, SpeechRecognizedEventArgs e)
  {
      e.Result.Text = rtb.Text; //rtb is an object of the RichTextBox class
  }
The problem is that there is no Text property for the RichTextBox class. Is there any way of fixing this? Thanks in advance
 
     
     
     
    