This is a migrated thread and some comments may be shown as answers.

Customize text from View Model

1 Answer 124 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Animesh Dey
Top achievements
Rank 2
Animesh Dey asked on 20 Oct 2011, 07:40 AM
Hi Telerik,

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

Sort by
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 >>

Tags
RichTextBox
Asked by
Animesh Dey
Top achievements
Rank 2
Answers by
Iva Toteva
Telerik team
Share this question
or