Hi
I just wanted to share a solution to a strange problem: an exception is thrown during creation of XamRibbonWindow on Windows XP:
An element is already added. Key in dictionary: 'RibbonBrushKeys.ScenicCaptionCloseBtnPressedBorderFillKey' Key being added: 'RibbonBrushKeys.ScenicCaptionCloseBtnPressedBorderFillKey' Error in object „System.Windows.ResourceDictionary”.
After conversations it appeared to be an issue related to currently selected windows theme which was Olive. After changing windows theme do Default or Silver it started working properly.
Hi outro56, We have already released the fix for this issue in 10.1 - 10.3 versions. I can suggest you to verify that you are using the latest service release for this versions and test your application. If you still have issue and experience any issue with that specific theme, would you please attach a sample application where I can investigate the cause of it. Thank you.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
I also have the same problem with Olive theme, however the way it manifested itself was through a stack overflow before the constructor of the main window is called. My wpf application is all wired up t through XAML so I couldn't see the exact same error but when I changed it to use a static Main method thats when I can catch the exception.
Hi Robarch,I understand your situation, this issue is still waiting for release that is planned for the middle of this month. More details about the planed date you can find here:http://es.infragistics.com/support/default.aspx#ServiceReleasesLet me know if you have any further questions.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Do you have a patch for this yet? I have two customers experiencing this and it's rather frustrating for them.
Hello,
I have investigated this behavior and I was able to reproduce it. So I have enter it to our development system as number 37559 in order to be fixed in the next service releases.
I hope this helps.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.