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

Custom RichTextBox styling

3 Answers 196 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Bartley
Top achievements
Rank 1
Bartley asked on 16 Aug 2013, 07:30 PM

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.

3 Answers, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 21 Aug 2013, 08:12 AM
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 >>
0
Bartley
Top achievements
Rank 1
answered on 22 Aug 2013, 07:29 PM
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)?
0
Accepted
Mihail
Telerik team
answered on 27 Aug 2013, 01:09 PM
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
Tags
RichTextBox
Asked by
Bartley
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Bartley
Top achievements
Rank 1
Share this question
or