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

Bind RichTextBoxRibbon to RichTextBoxAdv

Thread ID:





116896 Jun 26,2014 08:13 AM UTC Jul 1,2014 02:17 PM UTC WPF 3
Tags: RichTextBoxAdv
Chuck Berg
Asked On June 26, 2014 08:13 AM UTC

How do I bind a RichTextBoxRibbon to a RichTextBoxAdv?  I've tried the drag-and-drop approach in the VS designer but that didn't work.  I tried setting the RichTextBoxRibbon.DataContext to "RTB" - the name I assigned to my RichTextBoxAdv, but that didn't work either.

So what will work?

Arumuga Perumal S [Syncfusion]
Replied On June 30, 2014 04:07 AM UTC

Hi Chuck,

Thank you for your interest in Syncfusion products.

We have prepared a sample tried on our side to demonstrate how to bind RichTextRibbon to  RichTextBoxAdv control. Please find the attached sample. Try running the sample and let us know if this helps you.

Please let us know if you have any other questions.

Arumuga Perumal S.

Attachment: OfficeUIDemo_6ec994bd.zip

Chuck Berg
Replied On June 30, 2014 04:49 AM UTC

Your sample code contained the answer.  For those developers following behind me, the simple answer is:

<syncfusion:RichTextRibbon Grid.Row="0" DataContext="{Binding ElementName=rte}" />

<syncfusion:RichTextBoxAdv Grid.Row="1" x:Name="rte"  />

Arumuga Perumal S [Syncfusion]
Replied On July 1, 2014 02:17 PM UTC

Hi Chuck,

Thank you for your update.

We are happy to hear that the provided sample meets your requirement.

Please let us know if you have any other questions.

Arumuga Perumal S.


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