We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Richtextbox and databinding

Thread ID:





118733 Apr 6,2015 03:42 AM UTC Apr 6,2015 01:33 PM UTC WPF 1
Tags: RichTextBoxAdv
Asked On April 6, 2015 03:42 AM UTC


is it possible to have Twoway databinding with the richtextbox control ?

Narendran Srinivasan [Syncfusion]
Replied On April 6, 2015 01:33 PM UTC

Hi Issam,

Thanks for choosing Syncfusion products,

At this moment our RichTextBoxAdv control does not have support for two binding. But two way binding can achieve using command for setting and property for retrieving the style. For your reference we have prepared a sample to illustrate the same. Please find the sample from below link.

Code Snippet:
<ToggleButton syncfusion:ToolBarAdv.Label="Bold" Command="syncfusion:RichTextBoxAdv.ToggleBold" CommandTarget="{Binding ElementName=rte}" IsChecked="{Binding Path=CurrentInlineStyle.FontWeight, Converter={StaticResource FontWeightToChecked}, Mode=TwoWay, ElementName=rte}" Height="22" Width="22"/>

Sample link:

Please let me know if you have any other questions



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon