Richtextbox wpf binding
There is a much easier way! You can easily create an attached DocumentXaml (or DocumentRTF) property which will allow you to bind the RichTextBox‘s document. It is used like this, where Autobiography is a string property in your data model: <TextBox Text=”{Binding FirstName}” /> <TextBox Text=”{Binding LastName}” /> <RichTextBox local:RichTextBoxHelper.DocumentXaml=”{Binding Autobiography}” /> Voila! Fully bindable … Read more