If I apply a custom tint to the ribbon as specified in the documentation it says to do the following to make it work:
This is fine and worked as described...but my application now crashes at runtime trying to dynamically access resources I had predefined in my App.xaml - because it can no longer find them. I've tried adding the Brushes.xaml into the MergedDictionaries collection which fixes my runtime crashes but prevents the tint from working.
Any ideas?
[Modified at 06/22/2007 12:08 AM]
RibbonColorScheme.Default = new RibbonColorScheme("TanColorScheme",
RibbonColorSchemeType.Office2007Silver, Colors.Tan);
Uri uri = new Uri("/ActiproSoftware.Ribbon.WPF30;component/Themes/Brushes.xaml", UriKind.Relative);
ResourceDictionary resourceDictionary = (ResourceDictionary)System.Windows.Application.LoadComponent(uri);
System.Windows.Application.Current.Resources = resourceDictionary;
Any ideas?
[Modified at 06/22/2007 12:08 AM]