WPF VisualBrush stretches instead of tileing <p>I've got a VisualBrush on which I've set the TileMode property to Tile.</p> <p>However, it doesn't tile - it stretches. Can anyone assist please?</p> <p>Thanks</p> <pre><code>&lt;UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="test" x:Name="UserControl" d:DesignWidth="500" d:DesignHeight="500"&gt; &lt;UserControl.Resources&gt; &lt;VisualBrush x:Key="MyBrush" TileMode="Tile"&gt; &lt;VisualBrush.Visual&gt; &lt;Grid Width="20"&gt; &lt;Ellipse Fill="#FF00EBFF" Stroke="Black" StrokeThickness="2" Width="20" Height="20" RenderTransformOrigin="0.5,0.5" &gt; &lt;/Ellipse&gt; &lt;/Grid&gt; &lt;/VisualBrush.Visual&gt; &lt;/VisualBrush&gt; &lt;/UserControl.Resources&gt; &lt;Grid x:Name="LayoutRoot" &gt; &lt;Grid Background="{StaticResource MyBrush}" /&gt; &lt;/Grid&gt; &lt;/UserControl&gt; </code></pre>