Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
See more:
Hi All,

I'm trying to display an image in wpf application but the image is not displaying in my application, someone give solution for this..


Code:
C#
<Image Source="Images/LoadTestInfo.png" Stretch="Fill" HorizontalAlignment="center" Width="1024" Height="700"  VerticalAlignment="center"  />





Thanks in Advance...


Regards
R.Karthik
Posted

1 solution

Check up the file name, especially its relative path. (Figure out: relative to what path?) Less likely, your image is blocked by other, overlapping, elements, so you can check it up be removing them temporarily.
—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900