Hi,
In my silverlight assembly I have several images as Resource. To access them I use the following syntax:
/ASSEMBLY_NAME;component/PATH_TO_MY_IMAGE.png
I'm creating BitmapImages from codebehind and I would like to be able to know in runtime if a given image path exists as a Resource on the assembly so that I can decide If I use that image or a default one (which I know will always exist).
Is there any way to achieve this? - Reflection? - Try to instantiate the BitmapImage and check for any error?
Many thanks, Bruno