Silverlight / WPF - How do I add bitmap/picture from resourse folder to xaml form

Asked By David on 01-Oct-12 04:54 PM
 I want to add clipart or pictures to my forms  can I drag and drop or is there a way or tool to use in WPF ZAML
 Thanks David
Robbe Morris replied to David on 01-Oct-12 05:15 PM
There are a bunch of picture oriented FAQs here.  I suspect several will be of interest to you.

http://eggheadcafe.com/faqlist.aspx?topicid=56&page=1

One of them is here:
http://eggheadcafe.com/sample-code/SilverlightWPF/3a1b9787-04c0-4208-afc4-aca068c154fa/how-to-set-image-to-image-control.aspx


David replied to Robbe Morris on 03-Oct-12 04:40 PM
 Hi Robbe
 I have looked at the code but I am unsure where it goes in the xaml code I have a BMP called GOLF001 stored in Resources and my project name is called Golf ver6 DA
I have put it at the bottom like this but it shows window underlined and wont do anything

<Grid>


<Image Height="13" HorizontalAlignment="Left" Margin="19,82,0,0" Name="Image1" Stretch="Fill" VerticalAlignment="Top" Width="111" Source="/Golf ver6 DA;component/Resources/GOLF001.bmp" />


</Grid>

<Window>
 Thanks for any help
 David