This is a migrated thread and some comments may be shown as answers.
Highlights with different color
1 Answer 12 Views
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 04 Dec 2012, 07:51 AM
Hello,
I was wondering if it's possible to color different words with different colors...for example all the words Min with green and Max with another..
Thanks

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 06 Dec 2012, 04:24 PM
Hello Paolo,
If you wish to change the color of the words itself you can adopt the approach demonstrated in this help article - select all words and change their color with one of the methods of RadRichTextBox.
editor.ChangeTextHighlightColor(Colors.LightGray);

The other thing I would suggest is to create custom UILayer for the words you want to highlight. You can take a look at this online demo and this article regarding customization of presentation for further information. Please note that the UILayers are for presentation purposes only and will not be persisted when exporting the document.

I hope this is helpful. Feel free to contact us again if you have further questions.


All the best,
Petya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Asked by
Michele
Top achievements
Rank 2
Answers by
Petya
Telerik team
Share this question
or