Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
RichTextBox font style got reset when using UltraDockManager
posted

I am creating RichTextBox control with customize text color, font size, etc.
When I tried to make this RichTextBox to be dockable using UltraDockManager, my font style (color, size, etc) get lost everytime I dock/float.

I have attached my example code for reference.

Please someone give me solution for this,

Thanks before.

MultiColoouredTextBox.zip
Parents
  • 3707
    posted

    This is really a million dollar question. I played around with this in my free time over the last day which probably resulted in a few hours wasted and still wasn't able to figure it out. I partly believe it's Microsoft related because not any events relating to the RichTextBox's content is touched. It just removes the formatting on itself.

    Since the RichTextBox could be an annoyance to work with while the question is unanswered, you could use the work around of using the UltraFormattedTextEditor control instead.

Reply Children