title: Rectangle Stretch Property Behavior
body: <p>Can someone explain my misunderstanding of the Rectangle's Stretch property when setting it to NONE?  According to MSDN, the definition for this value is "The content preserves its original size."  Look at the code below.  When I set Stretch = NONE on the fourth rectangle, it disappears.</p>
  
  <pre><code>&lt;Grid Margin="20"&gt;
      &lt;Rectangle Height="Auto" Width="2" HorizontalAlignment="Left" VerticalAlignment="Stretch" Fill="Black"/&gt;
      &lt;Rectangle Height="2" Width="10" HorizontalAlignment="Left" VerticalAlignment="Top" Fill="Black"/&gt;
      &lt;Rectangle Height="2" Width="10"  HorizontalAlignment="Left" VerticalAlignment="Bottom" Fill="Black"/&gt;
  
      &lt;Rectangle Stretch="None" Name="Right" Height="Auto" Width="2" HorizontalAlignment="Right" VerticalAlignment="Stretch" Fill="Black"/&gt;
      &lt;Rectangle Height="2" Width="10" HorizontalAlignment="Right" VerticalAlignment="Top" Fill="Black"/&gt;
      &lt;Rectangle Height="2" Width="10" HorizontalAlignment="Right" VerticalAlignment="Bottom" Fill="Black"/&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>Why is this happening?  This code is an excerpt from a paging control I'm using on a custom chart.  I am wrapping the paging control in a ViewBox to allow auto-resizing, but I do not want my border markers resizing (the example above is what the page border markers look like).</p>