Hello,
I have a solution with many projects. The RibbonTabItem control is defined in project X. This control is used in project Y.
<<igRibbon:RibbonTabItem>
<igRibbon:RibbonGroup>
<igRibbon:ButtonTool />
</igRibbon:RibbonGroup>
</igRibbon:RibbonTabItem>
Each project has its own resource images stored in a folder within the project itself.
The ButtonTool LargeImage property in the Markup is "/X;component/Images/Plus.png"
I'm getting a run time error : image not found.
If I place a copy of the image in project Y, the image appears and all good. (designer error = none, run time errors = none)
If I remove the image from project X and leave it project Y, I get a designer error and no run time error.
Somehow the ButtonTool is not respecting the image path and looking for it in assembly Y even though it is instructed to look for it in the assembly X.
I have consulted the microsoft web on Pack URIs in MarkUp and tried LargeImage="pack://application:,,,/Plus.png"
Please note that MaximumSize property is set to ImageAndTextLarge..
Thank you
Thank for contacting Infragistics. Please provide a sample that demonstrates this. I believe the issue can be addressed by modifying the path to incorporate your assembly.
eg. Please refer to the following stack overflow article for more details on modifying your path:
https://stackoverflow.com/questions/25835477/not-able-to-reference-image-source-with-relative-path-in-xaml
Let me know if you have any questions or concerns.
Sincerely,
Michael Di FilippoAssociate Software DeveloperInfragistics, Inc.www.infragistics.com/support
Hello Michael,
Thank you for the help in this issue.
I have confirmed that the issue is in the project structure.
Please consider this issue as resolved.
I have seen this stack overflow article before and I have used whats suggested. It works on other controls but not on the ButtonTool.
Thanks