Highlights with different color

2 posts, 0 answers
  1. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 04 Dec 2012 Link to this post

    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
  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 06 Dec 2012 Link to this post

    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.

  3. DevCraft banner
Back to Top