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

4 posts, 1 answers
  1. Alex
    Alex avatar
    5 posts
    Member since:
    Jul 2011

    Posted 22 Feb 2012 Link to this post

    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
  2. Answer
    Martin Ivanov
    Martin Ivanov avatar
    104 posts

    Posted 24 Feb 2012 Link to this post

    Hello Alex,

    We are glad to hear our product has so interesting use cases. If you are looking for the source of the demo , 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.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. Clifford
    Clifford avatar
    25 posts
    Member since:
    Sep 2013

    Posted 16 Sep 2013 Link to this post

    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.
  4. Boby
    Boby avatar
    730 posts

    Posted 18 Sep 2013 Link to this post

    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.

    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 >>
Back to Top