Fill Ellipse with custom ImageBrush - TileMode Tile

<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="380">
<StackPanel Orientation="Horizontal">
<Canvas Margin="5">
<Ellipse Canvas.Top="130" Canvas.Left="30" Height="100" Width="230">
<Ellipse.Fill>
<ImageBrush ImageSource="c:\image.jpg" Stretch="Fill" TileMode="Tile" Viewport="0,0,0.25,0.5" />
</Ellipse.Fill>
</Ellipse>
</Canvas>
</StackPanel>
</Window>
Related examples in the same category