<Page
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  x:Class="Microsoft.Samples.BrushExamples.DrawingBrushExample"
  WindowTitle="DrawingBrush Example"
  Background="White">

  <StackPanel>


    <!-- <SnippetGraphicsMMDrawingBrushAsButtonBackgroundExample> -->
    <Button Content="A Button">
      <Button.Background>
        <DrawingBrush>
          <DrawingBrush.Drawing>
            <GeometryDrawing Brush="LightBlue">
              <GeometryDrawing.Geometry>
                <GeometryGroup>
                  <EllipseGeometry RadiusX="12.5" RadiusY="25" Center="25,50" />
                  <EllipseGeometry RadiusX="12.5" RadiusY="25" Center="50,50" />
                  <EllipseGeometry RadiusX="12.5" RadiusY="25" Center="75,50" />
                </GeometryGroup>
              </GeometryDrawing.Geometry>
              <GeometryDrawing.Pen>
                <Pen Thickness="1" Brush="Gray" />
              </GeometryDrawing.Pen>
            </GeometryDrawing>
          </DrawingBrush.Drawing>
        </DrawingBrush>
      </Button.Background>
    </Button>
    <!-- </SnippetGraphicsMMDrawingBrushAsButtonBackgroundExample> -->

    
  </StackPanel>
</Page>
