Mega Code Archive

 
Categories / C# / WPF
 

Display a Static Image

<Window x:Class="WpfApplication1.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="WPF" Height="300" Width="400">     <StackPanel Orientation="Horizontal">         <Image Margin="10" ToolTip="Bottom Image" Width="100" Source="c:\image.gif" />     </StackPanel> </Window>