<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <!--scalamy potrzebne zasoby-->
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Common.xaml" />
        <ResourceDictionary Source="ButtonTemplate.xaml" />
    </ResourceDictionary.MergedDictionaries>
    <!--defniujemy style dla elementów-->
    <!--przycisk Button-->
    <Style x:Key="ButtonStyle" TargetType="{x:Type Button}">
        <Setter Property="Template" Value="{DynamicResource ButtonTemplate}"/>
        <Setter Property="RenderTransform">
            <Setter.Value>
                <TranslateTransform/>
            </Setter.Value>
        </Setter>
        <Setter Property="Height" Value="100"/>
        <Setter Property="Width" Value="100"/>
        <Setter Property="Grid.Column" Value="1"/>
        <Setter Property="FontSize" Value="{DynamicResource {x:Static SystemFonts.IconFontSizeKey}}"/>
        <Setter Property="FontFamily"  Value="{DynamicResource {x:Static SystemFonts.CaptionFontFamilyKey}}"/>
        <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}"/>
        <Setter Property="BorderBrush" Value="{DynamicResource 	{x:Static SystemColors.ControlBrushKey}}"/>
    </Style>
    <!--TreeView-->
    <Style x:Key="TreeViewStyle" TargetType="{x:Type TreeView}">
        <Setter Property="Width" Value="130"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="Background" Value="Transparent"/>
    </Style>
    <!--TreeViewItem-->
    <Style x:Key="TreeViewItemStyle" TargetType="{x:Type TreeViewItem}">
        <Setter Property="FontSize" Value="{DynamicResource {x:Static SystemFonts.IconFontSizeKey}}"/>
        <Setter Property="FontFamily"  Value="{DynamicResource {x:Static SystemFonts.CaptionFontFamilyKey}}"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Foreground" Value="{DynamicResource 	{x:Static SystemColors.ControlTextBrushKey}}"/> 
    </Style>
    <!--Grid-->
    <Style x:Key="GridStyle" TargetType="{x:Type Grid}">
        <Setter Property="Background" Value="{DynamicResource 	{x:Static SystemColors.MenuBarBrushKey}}"/>
    </Style>
</ResourceDictionary>