When i include the XamRibbon like
<igRibbon:XamRibbon x:Name="ribbon" Theme="Office2010Blue">
I get the following binding error
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Infragistics.Windows.Ribbon.RibbonWindowContentHost', AncestorLevel='1''. BindingExpression:Path=IconResolved; DataItem=null; target element is 'Image' (Name='PART_WindowIcon'); target property is 'Source' (type 'ImageSource').
The ribbon looks great, and if i remove Theme="Office2010Blue" I do not get the binding error. Any idea how to remove this error
Hello Mike,
Thank you for your post. I have tested the described scenario using the latest Service Release for 12.2 and Visual Studio 2010/2012 and no binding error appears. Would you please tell me the version of the NetAdvantage that you are using like 12.2.20122.2022, the Visual Studio’s version, the Operating System? It will be very helpful, if you attach a sample application which shows the issue.
Looking forward to hearing from you.
Thank you for your response. I am using infragistics 12.1. Visual Studio 2010 SP1. I have attached a sample application demonstrating the error.
Thank you for your feedback. I have tested your sample application and the designer throws no binding error. I can suggest you download our last Service Release instead of using the RTM version :
Go to our web site -> Account -> Select the product(12.1) -> Select Service Release tab.
If you need any further assistance on this matter, feel free to ask.
Thank you for your response.
Forgive my ignorance but what is the RTM version, and what makes you think I am using it. The dll I have referenced has the description "Infragistics XamRibbon for WPF - Release Version" and Version = 12.1.20121.1010.
I receive the warning in the output window of visual studio when I run the application. However I have worked with applications referencing the same dll that do not issue the warning. I believe it is related to the office theme as when I replace
with
<igRibbon:XamRibbon x:Name="ribbon">
I do not get the error. I feel like I must be missing a namespace or other reference.
Mike
RTM version means release to manufacturing. It is the first version of a released product. Service release is a collection of updates, fixes.
Meanwhile I have logged this behavior with our developers in our tracking system, with an issue ID of 127956. I have also created a support ticket on your behalf with number CAS-104987-H1W7S0 in order to link the development issue to it so that you are automatically updated when a Service Release containing your fix is available for download.
We have shipped out a new service release where your issue is resolved. I'd be glad to find out if you had tested it out and if it had met your requirements.
You can download the Service Releases by logging to our web site and going to My IG \My Keys and Downloads.