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
155
XamRibbon producing Error
posted

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

Parents
  • 35319
    posted

    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.

Reply Children