SyntaxFix
Write A Post
Hire A Developer
Questions
Try to assign the image that way instead:
imgFavorito.Source = new BitmapImage(new Uri(base.BaseUri, @"/Assets/favorited.png"));