<!-- <SnippetGraphicsMMImageBrushAsCanvasBackgroundExampleWholePage> -->
<Page
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  x:Class="Microsoft.Samples.BrushExamples.ImageBrushExample"
  WindowTitle="ImageBrush Example"
  Background="White">

  <StackPanel>

    <!-- <SnippetGraphicsMMImageBrushAsCanvasBackgroundExample> -->
    <Canvas
      Height="200" Width="300">
      <Canvas.Background>
        <ImageBrush ImageSource="sampleImages\Waterlilies.jpg" />
      </Canvas.Background>
    </Canvas>
    <!-- </SnippetGraphicsMMImageBrushAsCanvasBackgroundExample> -->

    
  </StackPanel>
</Page>
<!-- </SnippetGraphicsMMImageBrushAsCanvasBackgroundExampleWholePage> -->