xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="VisualBrush" Height="500" Width="300">
Source Visual:
Background="{StaticResource MyCustomDrawing}"/>
VisualBrush: