<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="../Brushes/Icons.xaml"/>
        <ResourceDictionary Source="../BaseControlStyles/ButtonStyle.xaml" />
        <ResourceDictionary Source="../Icons/PlayArrowIconStyle.xaml" />
        <ResourceDictionary Source="../Brushes/DefaultColorTheme.xaml"/>
        <ResourceDictionary Source="../BaseControlStyles/TextBlockStyle.xaml"/>
    </ResourceDictionary.MergedDictionaries>
    <Style TargetType="ToggleButton" x:Key="BlackAndBlueToggleButton">
        <Setter Property="Cursor" Value="Hand" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ToggleButton}">
                    <Border 
                        x:Name="Border"
                        CornerRadius="0"
                        Margin="0,1,0,0"
                        Opacity="1"
                        Background="{StaticResource ActiveElementBackgroundBrush}"
                        BorderThickness="0">                                                    
                        <ContentPresenter HorizontalAlignment="Left" VerticalAlignment="Center">
                            <ContentPresenter.Resources>
                                <Style BasedOn="{StaticResource TextBlockNormal}" TargetType="TextBlock" />
                            </ContentPresenter.Resources>
                        </ContentPresenter>
                    </Border>

                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Setter TargetName="Border" Property="Background">
                                <Setter.Value>
                                    <SolidColorBrush Color="{StaticResource ActiveElementBackgroundShadedColor}" />
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True">
                            <Setter TargetName="Border" Property="Background">
                                <Setter.Value>
                                    <SolidColorBrush Color="{StaticResource ActiveElementBackgroundShadedColor}" />
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="Border" Property="Background" Value="{StaticResource ButtonDisabledTextColor}"/>
                        </Trigger>
                        <Trigger Property="IsChecked" Value="True">
                            <Setter TargetName="Border" Property="Background" Value="{StaticResource DefaultBlackishBackground}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
                    
