ImageBrush Examples
<Window x:Class="Workspace.DockExample" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Workspace" Width="640" Height="480"> <StackPanel> <Rectangle Width="150" Height="150"> <Rectangle.Fill> <ImageBrush ImageSource="c:\image.jpg" /> </Rectangle.Fill> </Rectangle> </StackPanel> </Window>