Well, I was looking for several ways to fix this in my Windows Phone 7 application, but I can not find anything that works. What bothers me is that I did something similar, no problem, so I'm not sure why it doesn't work. The code calling me is this:
if (appSettings.Contains ("image")) myImage.Source = (string) appSettings ["image"]; still myImage.Source = "default.jpg";
The error I get is this
It is not possible to implicitly convert the type 'string' to 'System.Windows.Media.ImageSource.
The reason this bothers me is that I did this tutorial on Twitter , in which you directly bind the image source to a string. So what can I do to fix this?
c # visual-studio-2010 windows-phone-7 silverlight
Dan
source share