0

Quick summary - i add image control on simple wpf window and set image .while design time it shows and but in run time its doesn't and not showing any exception

<Grid> <Image Name ="im1" HorizontalAlignment="Left" Height="50" Margin="127,147,0,0"VerticalAlignment="Top" Width="50" Source="pack://siteoforigin:,,,/Resources/chetas logo.bmp" /> </Grid>'

3
  • Have you set the Copy to Output Directory property of the chetas logo.bmp file to Copy Always or Copy if Newer? Commented Nov 18, 2013 at 7:34
  • Ya i set that property as copy always but it doesn't work result is same Commented Nov 18, 2013 at 8:02
  • Thanks Anders Gustafsson Commented Nov 18, 2013 at 8:07

1 Answer 1

1

I got it .. when i set my image build in action property as embedded resource

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.