How can I achieve the RadRichTextBoxRibbonUI - RadRichTextBox configuration thru C# code?
2 Answers, 1 is accepted
0
Vasil
Telerik team
answered on 22 Dec 2011, 06:11 PM
Hi Ricardo,
Thank you for your interest in the RadRichTextBox.
I suppose that you have taken a look at our online examples which use mostly XAML code. This is a good way to get familiar with the control and to determine what is needed for your scenario. On the next step you can review our documentation for RadRichTextBox and RadRibbonView controls which include XAML, C# and VB.NET code examples and can help you create your application.
The connection between RadRichTextBoxRibbonUI and RadRichTextBox is done by setting the Commands property of RadRichTextBox as a DataContext of RadRichTextBoxRibbonUI. In C# code this can be done like this: