Hello Mike,
I tried using the 'Flow' layout mode and my RTE looks much better now. But I had to add some code to the function which makes the toolbar of the RTE visible: I had to set the focus back to the RichTextBox and I also had to set the caret position back to its initial position.
I have an additional question. I would like to make sure that the RichTextBox does not get a scrollbar when the user types more lines than the height of the textbox can handle. Instead I want the textbox to have an inital height of, for example 250 pixels, and to grow automatically in height when the content grows beyond 250 pixels. I was able to implement this behavior by adding the following XAML code :
However, when I run my application, the content of the RichTextBox starts at the center of the textbox instead of in the upper left corner. Setting the VerticalAlignment and VerticalContentAlignment properties to Top did not work.
Any ideas?
Thanks
Sodi