Visual Studio .NET - How do I add bitmap/picture from resourse folder to xaml form
Asked By David on 09-Oct-12 03:12 AM
Title="MainWindow" Height="350" Width="525">
<Image Height="13" HorizontalAlignment="Left" Margin="19,82,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="111" Source="/WpfApplication1;component/Images/Balloon.bmp" />
Where in the form does this go is it after Main Window or at the bottom after the code and binding for my buttons. I dont seem to be able to get it to work.
Should I drag the image box from the toolbox onto the form ?
Can I drag the Image from the project and drop into the form
Robbe Morris replied to David on 09-Oct-12 10:59 AM
I suspect the issue is that you are using a BitMap. If I remember right, the Image control needs to have BitMaps converted to a source it can render: