title: Create style for TextBlock in DataGridTextColumn
body: <p>I want to create a global style that sets the <code>VerticalAlignment</code> to <code>Center</code> for all <code>TextBlock</code> controls inside a <code>DataGrid</code> or inside a <code>DataGridTextColumn</code>.</p>
  
  <p>I don't want to copy the following into every <code>DataGridTextColumn</code> because it feels repetitive.</p>
  
  <pre><code>&lt;DataGridTextColumn Header="Some Property" Binding="{Binding SomeProperty}"&gt;
      &lt;DataGridTextColumn.ElementStyle&gt;
          &lt;Style TargetType="TextBlock"&gt;
              &lt;Setter Property="VerticalAlignment" Value="Center"&gt;&lt;/Setter&gt;
          &lt;/Style&gt;
      &lt;/DataGridTextColumn.ElementStyle&gt;
  &lt;/DataGridTextColumn&gt;
  </code></pre>
  
  <p>I tried something like the following but it doesn't work because <code>DataGridTextColumn</code> does not inherit from <code>FrameworkElement</code> or <code>FrameworkContentElement</code>. <code>DataGrid</code> itself does but any further wrapping I try leads to errors:</p>
  
  <pre><code>&lt;Style TargetType="DataGridTextColumn"&gt;
      &lt;Setter Property="ElementStyle"&gt;
          &lt;Setter.Value&gt;
              &lt;Style TargetType="TextBlock"&gt;
                  &lt;Setter Property="VerticalAlignment" Value="Center"/&gt;
              &lt;/Style&gt;
          &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
  &lt;/Style&gt;
  </code></pre>