I have a System.Windows.Media.VisualBrush with the source shown below. I then attempt to use it as the background for a grid. But my pattern don't appear. It should be something resembling ocean waves. Does anyone see anything wrong with what I wrote?
<VisualBrush
x:Name="brBrush"
x:Key="WaveBr"
Stretch="None"
TileMode="Tile"
Viewbox="40,0,120,20">
<VisualBrush.Visual>
<Grid>
<Grid.Effect>
<BlurEffect
Radius="2" />
</Grid.Effect>
<Grid.RowDefinitions>
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<Rectangle
Fill="LightCyan" />
<Path
Data="M0,10 C40,20 80,10 120,0 160,20 200, 10"
StrokeThickness="1"
Stroke="Teal"
Panel.ZIndex="1" />
</Grid>
</VisualBrush.Visual>
</VisualBrush>