<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:FLY.Thick.Base.UI">
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
        <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Converter/Dictionary_MyConv.xaml"/>
        <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Themes/Styles.xaml"/>
    </ResourceDictionary.MergedDictionaries>
    <local:IO2BitColorConverter x:Key="io2bitcolorconv"/>
    <Style TargetType="TextBlock" x:Key="ItemHeaderStyle">
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="FontFamily" Value="Microsoft Sans Serif"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Text}"/>
        <Setter Property="Margin" Value="5,0"/>
    </Style>

    <Style TargetType="TextBlock" x:Key="ItemValueStyle">
        <Setter Property="FontFamily" Value="Microsoft Sans Serif"/>
        <Setter Property="FontSize" Value="24"/>
        <Setter Property="TextAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Text}"/>
    </Style>

    <Style TargetType="TextBlock" x:Key="ItemValueUnitStyle" BasedOn="{StaticResource TextBlockStyle_FieldContent_mm}">
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Text}"/>
    </Style>
    
    <Style x:Key="IOStyle" TargetType="Rectangle" >
        <Setter Property="Width"  Value="10" />
        <Setter Property="Height"  Value="12" />
        <Setter Property="Margin"  Value="1" />
    </Style>
    <Style x:Key="IOTextStyle" TargetType="TextBlock">
        <Setter Property="Foreground"  Value="#FF119EDA" />
        <Setter Property="HorizontalAlignment"  Value="Center" />
        <Setter Property="VerticalAlignment"  Value="Center" />
        <Setter Property="FontSize"  Value="10"/>
    </Style>
    <Style x:Key="BtnStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource ButtonStyle_empty}">
        <Setter Property="Margin" Value="2"/>
        <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Badged.Foreground}"/>
        <Setter Property="Background" Value="{StaticResource MahApps.Brushes.Badged.Background}"/>
        <Setter Property="Effect">
            <Setter.Value>
                <DropShadowEffect BlurRadius="10" RenderingBias="Quality" Color="Black" Direction="270" ShadowDepth="2" Opacity="0.5" />
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="IconStyle" TargetType="{x:Type Control}" >
        <Setter Property="Margin" Value="6"/>
        <Setter Property="Height" Value="30"/>
        <Setter Property="Width" Value="30"/>
    </Style>
</ResourceDictionary>