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
1385
Change accent color
posted

I am using the XamSpreadsheet with the Office 2013 style.  I like the style, but just wish to change the accent color from the default green.  Is there an easy way to do it or do I  have to make a copy of the style and edit it directly?

Parents
  • 34510
    Verified Answer
    Offline posted

    Hi Walter,

    While there's no single accent color property, it is possible to customize the colors.  The XamSpreadsheet has a ResourceProvider property which you can use to provide your own brushes for various colors.  I have attached a sample that demonstrates how to use it.  The x:Key on all the brushes must match one of the enum values in the SpreadsheetResourceId enum.  For a list of all the available enums, you can look here.

    SpreadsheetColor.zip
Reply Children
No Data