This question is locked. New answers and comments are not allowed.
Hello,
We have a view with a TabControl. This TabControl has two TabItems. One of the TabItems has a RichTextBox control as you can see in the example.
We are using the MVVM pattern and we want to bind a String-property to the RichTextBox-control, which contains HTML-text.
On changing the tab after entering a text, the property in the viewmodel contains still the right HTML-text.
But after re-entering the tab with the RichTextBox, the control only shows an empty document.
Any ideas?
Note: We're unable to upload a sample project. Please tell us how we can upload code samples.
We have a view with a TabControl. This TabControl has two TabItems. One of the TabItems has a RichTextBox control as you can see in the example.
We are using the MVVM pattern and we want to bind a String-property to the RichTextBox-control, which contains HTML-text.
On changing the tab after entering a text, the property in the viewmodel contains still the right HTML-text.
But after re-entering the tab with the RichTextBox, the control only shows an empty document.
Any ideas?
Note: We're unable to upload a sample project. Please tell us how we can upload code samples.