Sign in to follow this  
Followers 0

Image Problem


3 posts in this topic

Posted

How do I make an image from Resources display on Windows Phone? The image displays on the designer but not the phone itself. :/

 

Here is the code related to the image:

<Image Name="pictureBox1" Visibility="Visible" HorizontalAlignment="Left" Height="178" Margin="112,68,0,0" Grid.Row="1" VerticalAlignment="Top" Width="249" Source="Resources\Mr.fortune.png"/>

Share this post


Link to post
Share on other sites

Posted

I believe paths are '/' and then in your code you have to tell it to use a relative uri.

Share this post


Link to post
Share on other sites

Posted

Thanks, Kalint :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.