title: How do I keep a constant FontSize in WPF Viewbox?
body: <p>I have a <code>Viewbox</code> with a number of <code>TextBlock</code>s that are scaled and positioned perfectly by the <code>ViewBox</code>. Something like this:</p>
  
  <pre><code>&lt;Viewbox Stretch="Uniform"&gt;
      &lt;Canvas Width="100" Height="100"&gt;
          &lt;Ellipse Width="100" Height="100" Stroke="Black"/&gt;
          &lt;TextBlock Width="100" TextAlignment="Center" FontSize="12"&gt;Top Center&lt;/TextBlock&gt;
      &lt;/Canvas&gt;
  &lt;/Viewbox&gt;
  </code></pre>
  
  <p>If the user resizes the <code>Viewbox</code> its contents are perfectly scaled to match. However I would like to keep the <code>FontSize</code> to 12 regardless of the actual size of the <code>Viewbox</code>. </p>
  
  <p>How can I do this? Can I do this in XAML without attaching to an <code>Resize</code> event?</p>