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

How to customize Notes appearance

3 Answers 38 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Stergios
Top achievements
Rank 1
Stergios asked on 31 Dec 2012, 09:47 AM
Hello,

How it is possible to customize the appearance of the RadRichTextBox notes?

Regards,

Stergios

3 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 02 Jan 2013, 01:35 PM
Hello Stergios,

I assume you are referring to the Footnotes and Endnotes features in RadRichTextBox. However I am having a hard time understanding what you mean by customize the appearance. I suggest you look through this help article where the properties of Notes are listed. Other than changing those properties from code, you can use the Footnote and Endnote dialog (refer to the attachment) for the same purpose.

If I misunderstood you or you need additional information, feel free to contact us again.
 
Greetings,
Petya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Stergios
Top achievements
Rank 1
answered on 02 Jan 2013, 05:00 PM
I'm sorry for this misunderstanding. I should use the term "Comments" instead of notes. I'm refering to the comments that can be added to a RadRichTextBox document using for example the New Comment button located in the Review tab (see the Telerik Editor Example http://demos.telerik.com/silverlight/#RichTextBox/TelerikEditor)
0
Petya
Telerik team
answered on 03 Jan 2013, 05:02 PM
Hello Stergios,

I am sorry for the misunderstanding.

Yes, the appearance of the comments can be modified. You can subscribe to the CommentShowing event of RadRichTextBox and access the appearance settings through the event arguments:
void editor_CommentShowing(object sender, Telerik.Windows.Documents.UI.CommentShowingEventArgs e)
{
    e.AppearanceSettings.BackgroundBrush = new SolidColorBrush(Colors.Cyan);
    e.AppearanceSettings.BorderBrush = new SolidColorBrush(Colors.Cyan);
    e.AppearanceSettings.HighlightColor = Colors.Cyan;
}

I hope this helps.

 

Regards,
Petya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RichTextBox
Asked by
Stergios
Top achievements
Rank 1
Answers by
Petya
Telerik team
Stergios
Top achievements
Rank 1
Share this question
or