title: Is there a way to size a border to its contents? (Winnrt Xaml)
body: <p>I have a border around a textblock to create a nice background with rounded corners.  But no matter what I do the border width is always the size of its parent.  I want to limit it to the size of its contents.
  I tried binding the width to the actual width of it's contents, but that didn't work, with any of the binding modes.</p>
  
  <pre><code>&lt;Border x:Name="TagPreviewBorder" CornerRadius="5"
          Width="{Binding ElementName=TagPreviewTextBlock, Path=ActualWidth, Mode=TwoWay}"&gt;
     &lt;TextBlock x:Name="TagPreviewTextBlock"/&gt;
  &lt;/Border&gt;
  </code></pre>