Binding content to C1RichTextBox

Posted by: mike on 5 June 2021, 3:50 pm EST

    • Post Options:
    • Link

    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

    RichTextBoxBinding.zip

  • 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 :slight_smile:

    Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels