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

I need to change the color of comments

2 Answers 33 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Rick asked on 20 May 2012, 05:31 PM
I need to programatically change the color of comments that are inserted into the document. I am sure this is easy, but there are so many methods and properties (thanks for the flexibility) that I can't seem to find it.

What I am doing is creating a collaboration project. Different users have different sets of comments. Right now I can display the comments from any given user. But I need to add a visual cue and change the color of the comment.

Thanks! I love the product.

2 Answers, 1 is accepted

Sort by
0
Alex
Telerik team
answered on 23 May 2012, 08:57 AM
Hello,

Thanks for the feedback. You can attach to the CommentShowing event of the RadRichTextBox and set the visual setting you need in the AppearanceSettings property of the event args. Note, that this event will be fired only once for every comment - when it is first shown by the RadRichTextBox.

I hope this was helpful.

Kind regards,
Alex
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Rick
Top achievements
Rank 1
answered on 23 May 2012, 07:32 PM
Thanks, that worked great.
Tags
RichTextBox
Asked by
Rick
Top achievements
Rank 1
Answers by
Alex
Telerik team
Rick
Top achievements
Rank 1
Share this question
or