<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style TargetType="Table"  x:Key="BorderedTable">
        <Setter Property="CellSpacing" Value="0"></Setter>
        <Setter Property="BorderThickness" Value="1"></Setter>
        <Setter Property="BorderBrush" Value="#000"></Setter>
        <Setter Property="TextAlignment" Value="Center"></Setter>
        <Setter Property="LineHeight" Value="30"></Setter>
    </Style>
    <Style TargetType="TableCell" x:Key="BorderedCell">
        <Setter Property="BorderThickness" Value="0.5"></Setter>
        <Setter Property="BorderBrush" Value="#000"></Setter>
        <Setter Property="Padding" Value="3"></Setter>
    </Style>
</ResourceDictionary>