How to customize Notes appearance

4 posts, 0 answers
  1. Stergios
    Stergios avatar
    13 posts
    Member since:
    Nov 2012

    Posted 31 Dec 2012 Link to this post

    Hello,

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

    Regards,

    Stergios
  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 02 Jan 2013 Link to this post

    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.

  3. DevCraft banner
  4. Stergios
    Stergios avatar
    13 posts
    Member since:
    Nov 2012

    Posted 02 Jan 2013 Link to this post

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

    Posted 03 Jan 2013 Link to this post

    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.

Back to Top