Posted on Leave a comment

Change Image Source Dynamically C# – Windows Store apps

You can change dynamically with c# the Image Source of an image with the following code

 imageName.Source = new BitmapImage(new Uri("ms-appx:/path"));


imageName = (yours image control name)
path = (yours image path in the VS solution)


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.