3
Answers

How to load local image in imagecontrol using relative path?

surajit kundu

surajit kundu

11y
1.7k
1
Hi Expert ,

        I have a simple form where i have added a image control .Now i want to load image from local directory using relative path. Below is my code 


               <Image HorizontalAlignment="Left" Height="129" Margin="147,89,0,0"                 VerticalAlignment="Top" Width="161" Source="Images/Flower2.jpg"/>

         Image is showing in XAML but when run the application image is not showing . Can any one give me suggesstion what's the reason ?

Thanks
Surajit



Answers (3)