Hello, I ran into a small bug but it's causing my application to crash.
I'm not sure if this is a bug in the tree or the outlookbar, but when you have the themes enabled, and you have some sort of custom header setup in the tree items, then it crashes the application if you move from the Group1 to Group 2 back to Group1 on the Outlook bar.
I'm not sure if there is a work around that I could use or if this is a bug.
Thanks
That works, thanks Sam, for some reason it wasn't loading it correctly since I have string resources first before the resource dictionaries in the App.xaml file. Really strange, but switching the order fixes it and makes the tree's themes work.
Thanks.
Hi Ryan,
You can add it as a resource in your App.xaml, after adding the resource dictionary file to you project. Here is an example:
<Application.Resources> <ResourceDictionary x:Uid="ResourceDictionaryApp"> <ResourceDictionary.MergedDictionaries> <ResourceDictionary x:Uid="ResourceDictionaryApp_2" Source="ResourceDictionary.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources>
I hope it helps. Let me know if you have a y question.
Sam
Hey Sam, I know this is an older post, but I've tried to load it in a resource dictionary, I just can't seem to get it to work, do you think you can post how you've done it to make it work?
Thanks Sam, yeah I probably have to leave it loading dynamically otherwise I'm going to have to copy this across a bunch of different projects. I can just wait until a fix. Thanks Sam.
Hello,
There is a known issue with Office2010Blue when it's loaded dynamically. We have this issue logged internally for a fix. If it works for you try referencing it as ResourceDictionary in XAML.
Thank you for reporting this issue.