Hello,
I have a view with x RadRichTextBoxes (x is dynamic) and want to access the content of each from my viewmodel. I know the DataProviders but I need more then binding just a string. E.g. I want to copy the selection from one RadRichTextBox to another one; including all the styles.
I tried a way via code-behind and it worked as expected:
var editor1 = new RadDocumentEditor(radRichTextBox.Document);
var editor2 = new RadDocumentEditor(radRichTextBox1.Document);
editor1.Cut();
editor2.Paste();
But I want to do all this in my viewmodel without code-behind.
Do you have any suggestions how I can do this?
Kind regards,
Philipp
I have a view with x RadRichTextBoxes (x is dynamic) and want to access the content of each from my viewmodel. I know the DataProviders but I need more then binding just a string. E.g. I want to copy the selection from one RadRichTextBox to another one; including all the styles.
I tried a way via code-behind and it worked as expected:
var editor1 = new RadDocumentEditor(radRichTextBox.Document);
var editor2 = new RadDocumentEditor(radRichTextBox1.Document);
editor1.Cut();
editor2.Paste();
But I want to do all this in my viewmodel without code-behind.
Do you have any suggestions how I can do this?
Kind regards,
Philipp