Users Pricing

forum

Home Forums How to change image dynamically in wpf? – MindStick

How to change image dynamically in wpf?

Anonymous User 5333 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.


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md