ciao,
hai provato a dare il focus alla textbox dopo l'apertura della tastiera e gestire il return?

codice:
        private void Note_Click(object sender, RoutedEventArgs e)
        {           

            Process.Start(@"C:\Windows\System32\osk.exe");
            this.textBox1.Focus();
        }

        private void textBox1_PreviewKeyUp(object sender, KeyEventArgs e)
        {
            if (e.Key == Key.Return&&!string.IsNullOrWhiteSpace(this.textBox1.Text))
            {
                string testo = "";
                FileStream fs = new FileStream(this.textBox1.Text, FileMode.OpenOrCreate, FileAccess.Write);

                System.IO.StreamWriter file1 = new System.IO.StreamWriter(fs);
                foreach (string[] array in visualizzaRis.Items)
                {
                    foreach (string s in array)
                    {
                        testo += s;
                    }
                    testo += "\r\n";
                }
                file1.WriteLine(testo);
                file1.Flush();
                file1.Close();
                fs.Close();
            }
        }