Display a Static Image : Image « Windows Presentation Foundation « C# / C Sharp
- C# / C Sharp
- Windows Presentation Foundation
- Image
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>
Related examples in the same category