How to set image to image control?

By James J

set image path to image control...

//Here one folder is created named "Images" & store image in that folder in your application folder...

<Window x:Class="WpfApplication1.MainWindow"
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" />

How to set image to image control?  (1232 Views)