Click here to Skip to main content
15,884,425 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
i am working on wpf app.i want to show one image on my wpf window for that i am using below XAML code
-<Image Source=".../Icon/Login.ico" Grid.RowSpan="3"/>
its showing on window but i run project its not visible on runtime plz help..
Posted
Comments
George Jonsson 3-Dec-14 5:34am    
Is the path to the image correct in runtime?
TheRealSteveJudge 6-Mar-15 10:36am    
What Build Action did you assign to the image?

1 solution

Hi,

You are using a relative path for image . Just to check use an absolute path and check if the image is coming properly. if so then the relative path what you have given is wrong. Correct the relative path.
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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