Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF how do i cange an image in program.

$
0
0

basicly i wanna change a change the image when it's clicked. i have tried this

i1.Source =  "C:\Users\Sveinbjörn\Documents\Visual Studio 2013\Projects\WpfApplication2\WpfApplication2\Resources\Image1.png"; 

but it didn't work. how can i change the image by command?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>