Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
245
Background color
posted

I have been setting the background color on this control however it always shows as white.  Am I using the wrong property?

Regards,

    Aaron

  • 6759
    Verified Answer
    Offline posted

    Hi Aaron,

    here's what you need to do:

    this.xamRichTextEditor1.Document.RootNode.Settings = new DocumentSettings(){Background = new ColorInfo(Colors.Green)};

    Hope this helps,