Ribbon for WPF: Cannot locate resource 'themes/office2007blue.xaml'. RRS feed

  • Question

  • Hello,

    I tried to use the office2007blue Theme for a Ribbon. I added the following line to my App.xml file:

    <ResourceDictionary Source="/RibbonControlsLibrary;component/Themes/Office2007Blue.xaml"/>

    When I start my application an exeption is thrown the inner exception is:

    Cannot locate resource 'themes/office2007blue.xaml'

    I have running Windows XP, and the application is for .Net 4.0, Why can the resource not be found?

    Wednesday, March 30, 2011 7:06 AM

All replies

  • There is a package avaliable on Microsoft google Themes for Office Ribbons (eg site:microsoft.com).

    Have you used a local directory, by chance. Otherwise install the collection on microsoft's website.

    Thursday, March 31, 2011 10:38 PM