Posted 5 June 2021, 3:50 pm EST
Is there a standard way to bind to the contest of a RichTextBox control? I see the one post on Html. Thank you.
Forums Home / ComponentOne / WPF Edition
Posted by: mike on 5 June 2021, 3:50 pm EST
Posted 5 June 2021, 3:50 pm EST
Is there a standard way to bind to the contest of a RichTextBox control? I see the one post on Html. Thank you.
Posted 6 June 2021, 2:34 pm EST
Hi Mike,
C1RichTextBox content can be bound either with html or plain text i.e. you need to use C1RichTextBox’s Html/Text property for binding accordingly.
Please refer to the attached sample which shows Html/PlainText binding. (see RichTextBoxBinding.zip)
Best Regards,
Kartik
Posted 8 June 2021, 9:48 am EST
Thank you very much. Your dev staff have done an outstanding job on this control along with the associated toolbar. Then you allow us to set it with HTML via a string, making it easy to bind to. This you cannot do without a lot of work with a regular WPF rich text box.
Thank you again.
Posted 8 June 2021, 4:00 pm EST
Hi Mike,
Thank you for your kind words. It’s good to hear that
Regards,
Kartik