Cannot align text content of column to center
<p>I want align the text inside a column to center, for do this I've created a resource:</p>

<pre><code>&lt;Style x:Key="HeaderStyle" TargetType="GridViewColumnHeader" BasedOn="{StaticResource MetroGridViewColumn}"&gt;
        &lt;Setter Property="HorizontalContentAlignment" Value="Center"/&gt;
&lt;/Style&gt;
</code></pre>

<p>but I get </p>

<blockquote>
  <p>Cannot Resolve the Resource "MetroGridViewColumn" </p>
</blockquote>

<p>Note that: I need to align the text inside the column, not the header without lost Mahapp style</p>