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

how to set image in image tag dynamiclly in wpf

$
0
0

Hi,

    I want show the image in image tag dynamiclly ...but my image present in Visual Studio 2010\Projects\wpfnew\wpfnew\bin\Debug\logo.....(my project name is wpfnew)inside of logo folder my images are present,now how to show in that images in image tag...i dont know how to do that

i tried following code...

image1.Source = new BitmapImage(new Uri("logo/" + filtername, UriKind.Relative));

but it not working ...Please help me


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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