surajit kundu

surajit kundu

  • NA
  • 5
  • 2.1k

How to load local image in imagecontrol using relative path?

Nov 7 2013 6:32 AM
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)