Users Pricing

forum

home / developersection / forums / how to change image dynamically in wpf?

How to change image dynamically in wpf?

Anonymous User 5273 03 Sep 2013

myImage.Source = new BitmapImage(new Uri("/folder/imagename.png", UriKind.Relative));

This used to work in WPF applications for Windows 7, but there, in Windows 8, I got an error

Thanks in advance.


I am a content writter !


1 Answers