This is a migrated thread and some comments may be shown as answers.

Can i have the sample code for the Rad RichTextBox sample?

3 Answers 204 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 22 Feb 2012, 08:45 PM
I am trying to build an editor for byzantine music and i want to see if i can achieve some modifications to the source so i can have an acceptable presentation of the characters
for instance i want to control the empty space between two lines , the first line is with byzantine symbols and the second line is music text
thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 24 Feb 2012, 12:15 PM
Hello Alex,

We are glad to hear our product has so interesting use cases. If you are looking for the source of the demo http://demos.telerik.com/silverlight/#RichTextBox/TelerikEditor , then you can find the code button on the upper right side and select from the left which file you want to observe. For specifying space between lines we provide a property of the rad document. For instance you can set 

this.editor.Document.LineSpacing = 5;

Hope this helps.

Greetings,
Martin
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Clifford
Top achievements
Rank 1
answered on 16 Sep 2013, 07:25 PM
I would like to be able to download a project. The code you referenced cannot be treated like a project.

Noticed that the CurrentEditingContext changed between 2012 and 2013 version and of course there is no
EditingContextTypeToBoolConverter. Also there is no ShowCodeFormattingDialogCommand. What other significant changes are there?

In addition, I have not been able to get the insert merge field function working when copying code, so wondering what I am missing.
0
Boby
Telerik team
answered on 18 Sep 2013, 06:51 AM
Hello Clifford,
You can use the Telerik Editor project from Telerik XAML SDK at GitHub, which is always updated to the latest version.
Alternatively, you can just drag the RadRichTextBox control from toolbox to the design surface. This will trigger  the design-time wizard, and if you choose "Word processor" option, it should generate XAML code similar to the online demo.

Regards,
Boby
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
RichTextBox
Asked by
Alex
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Clifford
Top achievements
Rank 1
Boby
Telerik team
Share this question
or