The MailMergeDataSource.ItemsSource is kept on a per document basis and unfortunately I don't see a way to bind its value. Generally, in MVVM scenarios data providers
are used to bind the document shown in RadRichTextBox. As the document instance is changed with a new one each time the respective string it is bound to changes, what I'd suggest is to take advantage of the SetupDocument
event of the data provider in code behind. You can set the respective items source hrough the e.Document
property of the event arguments.
I hope this is helpful! Let us know if you have further comments or questions.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>