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

  <StackPanel>


    <!-- <SnippetGraphicsMMTopLeftAlignmentExample> -->
    <Rectangle
      Width="150"
      Height="150"
      Stroke="LimeGreen"
      StrokeThickness="1">
      <Rectangle.Fill>
        <ImageBrush 
          Stretch="None"
          AlignmentX="Left"
          AlignmentY="Top" 
          ImageSource="sampleImages\triangle.jpg"/>
      </Rectangle.Fill>
    </Rectangle>

    <!-- </SnippetGraphicsMMTopLeftAlignmentExample> -->

    
  </StackPanel>
</Page>
