Custom RichTextBox styling

4 posts, 1 answers
  1. Bartley
    Bartley avatar
    16 posts
    Member since:
    Mar 2013

    Posted 16 Aug 2013 Link to this post


    i have been looking on the Forums and Documentation for some samples on how to edit Custom Styles for the Ribbon UI in XAML and also in Code Behind.

    If there are links or fourm posts', could you link them, and I will look at those.

    If not could you make s small project for WPF?

    We want to add a custom style with Times New Roman Font Size 10
    Sample Spacing so 1 not 1 1/2
    Color Black
    List Styles, pretty much the default ribbon styles and have it default to the styles I change?

     I added a attachment of the ribbon, and I would like to make it appear as the first choice.
  2. Mihail
    Admin
    Mihail avatar
    192 posts

    Posted 21 Aug 2013 Link to this post

    Hello Bartley,

    Here is the help article regarding styles: http://www.telerik.com/help/silverlight/radrichtextbox-features-styles.html, I hope it is helpful.

    Unfortunately at this point you can't set your style to be the first in the styles gallery. The good news is that we are working on a similar feature which will sort the styles by UI priority.

    If you have further questions or comments feel free to contact us again.

    Regards,
    Mihail
    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Bartley
    Bartley avatar
    16 posts
    Member since:
    Mar 2013

    Posted 22 Aug 2013 Link to this post

    Thanks for the reply!

    So where exactly is Verdana set as the default style?

    When we create a new instance of the radDocument and the content get passed thru any provider (html, rtf, xaml, etc. it gets reset as Verdana.  How can we make sure it gets set as (Times New Roman 10 for example)?
  5. Answer
    Mihail
    Admin
    Mihail avatar
    192 posts

    Posted 27 Aug 2013 Link to this post

    Hello Bartley,

    Here is a help article which explain exactly what you need to do in order to change the default font properties of the document and RadRichTextBox: http://www.telerik.com/help/silverlight/radrichtextbox-frequently-asked-questions.html#Setting_Default_Style_Settings_on_the_Document

    You may find other useful articles in the help section by examining them.

    Regards,
    Mihail
    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 >>

    through
Back to Top