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
245
XamRibbonWindow (error while creating window)
posted

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.

Parents
No Data
Reply
  • 12773
    posted

    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,
    Dimi
    Developer Support Engineer
    Infragistics, Inc.

Children