I am very new to wpf telerik controls. I am using richtextbox. I learn how to add customize text from code behind. But how can I add customize text from ViewModel.
Regards
Animesh
1 Answer, 1 is accepted
0
Iva Toteva
Telerik team
answered on 25 Oct 2011, 08:11 AM
Hello Animesh,
You can have a string property in your ViewModel, which contains the content of the document in one of the supported file formats. If you choose XAML, HTML or RTF, you can have the content of RadRichTextBox bound using the available Data Providers.
I hope this helps.
Regards,
Iva Toteva
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>