private void Paste(RichTextBox control)
 {
     control.Paste();
 }
Exemple #2
0
 private void PastePlainTextCommand(object sender, ExecutedRoutedEventArgs e)
 {
     RichTextBox rtb = new RichTextBox();
     rtb.Paste();
     rtb.SelectAll();
     rtb.Selection.ClearAllProperties();
     rtb.Copy();
     richTextBox_Main.Paste();
 }