title: Get the Style of a Control {StaticResource {x:Type TextBlock}} in code behind
body: <p>I want to grab the default <code>Style</code> for a <code>TextBlock</code> in code behind without ever having adding a custom default <code>TextBlock</code> <code>Style</code> to resources in <code>XAML</code>.</p>
  
  <p>I've got a method like this:</p>
  
  <pre><code>public TextBlock DrawTextBlockAtPoint(string text, Style style)
  {
      //...
  }
  </code></pre>
  
  <p>that I want to provide an override that just uses the regular <code>TextBlock</code> <code>Style</code>:</p>
  
  <pre><code>public TextBlock DrawTextBlockAtPoint(string text)
  {
     var style = GetDefaultStyleForProperty(TextBlock.StyleProperty);
     DrawTextBlockAtPoint(text, style)
  }
  </code></pre>
  
  <p>Is there anyway to do this?</p>