MahApps DataGridCell style
<p>I'm using MahApps library in my app, the default style of datagrid cell doesn't have any borders:</p>

<p><img src="https://i.stack.imgur.com/ckEEY.jpg" alt="Data Grid Cells without borders"></p>

<p>but I want the DataGrid to look like this:</p>

<p><img src="https://i.stack.imgur.com/YVEFK.jpg" alt="Data Grid Cells wit borders"></p>

<p>So I've started with:</p>

<pre><code>&lt;Style TargetType="{x:Type DataGridCell}"&gt;
    &lt;Setter Property="Height"
            Value="33" /&gt;
    &lt;Setter Property="Background"
            Value="Transparent" /&gt;
    &lt;Setter Property="Padding"
            Value="5,0" /&gt;
    &lt;Setter Property="Template"&gt;
        &lt;Setter.Value&gt;
            &lt;ControlTemplate TargetType="{x:Type DataGridCell}"&gt;
                &lt;Border x:Name="border"
                        Background="Transparent"
                        BorderBrush="Black"
                        BorderThickness="1"
                        Padding="0,10,0,10"
                        SnapsToDevicePixels="True"&gt;
                    &lt;ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /&gt;
                &lt;/Border&gt;
            &lt;/ControlTemplate&gt;
        &lt;/Setter.Value&gt;
    &lt;/Setter&gt;
    &lt;Setter Property="Template"&gt;
        &lt;Setter.Value&gt;
            &lt;ControlTemplate TargetType="{x:Type DataGridCell}"&gt;
                &lt;Grid Background="{TemplateBinding Background}"&gt;
                    &lt;ContentPresenter VerticalAlignment="Center" /&gt;
                &lt;/Grid&gt;
            &lt;/ControlTemplate&gt;
        &lt;/Setter.Value&gt;
    &lt;/Setter&gt;
&lt;/Style&gt;
</code></pre>

<p>but nothing changes, so I assume that I'm missing Based On={} attribute but I have no clue, I've asked for help MathApps team but no help...</p>