When the Image\'s Source property is set the following way, the picture is taken from /Images/down.png.
/Images/down.png
How would I do the same thing programmatically?
Try to assign the image that way instead:
imgFavorito.Source = new BitmapImage(new Uri(base.BaseUri, @"/Assets/favorited.png"));