Reputation: 41208
I'm trying to do this:
imgUser.Source = new Uri(user.Photo);
But I'm getting an error that I cannot convert a URI to an ImageSource.
Upvotes: 1
Views: 85
Reputation: 59169
BitmapImage is an ImageSource and can be created from a Uri:
imgUser.Source = new BitmapImage(new Uri(user.Photo));
Upvotes: 4