<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks">
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/ButtonStyle2.xaml"/>
    </ResourceDictionary.MergedDictionaries>

    <!--参数设置界面标题背景颜色-->
    <SolidColorBrush x:Key="Brushes.TitleBar.Background" Color="{StaticResource Colors.Accent}"/>
    <SolidColorBrush x:Key="Brushes.TitleBar.Foreground" Color="{StaticResource Colors.ThemeBackground}"/>
    
    <!-- 参数设置页 每个section 的标题框 内的标题-->
    <Style TargetType="TextBlock" x:Key="Styles.ParamSection.Text">
        <Setter Property="Margin" Value="5"/>
        <Setter Property="Foreground"  Value="White" />
        <Setter Property="FontWeight"  Value="Bold" />
        <Setter Property="FontSize"  Value="30" />
        <Setter Property="FontFamily"  Value="{StaticResource FontFamily.Field}" />
        <Setter Property="TextAlignment"  Value="Right" />
    </Style>
    
    <!-- 参数设置页 每个section 的标题框 -->
    <Style TargetType="Border" x:Key="Styles.ParamSection.Border">
        <Setter Property="Width" Value="150"/>
        <Setter Property="Background" Value="{StaticResource Brushes.Activity}"/>
        <Setter Property="Margin" Value="0,5,5,5"/>
        <Style.Resources>
            <Style TargetType="TextBlock" BasedOn="{StaticResource Styles.ParamSection.Text}"/>
        </Style.Resources>
    </Style>

    <!-- 参数设置页 可点击的 section 的标题框 -->
    <Style TargetType="{x:Type Button}" x:Key="Styles.ParamSection.Button" BasedOn="{StaticResource Styles.Button3}">
        <Setter Property="Width" Value="150"/>
        <Setter Property="Margin" Value="0,5,5,5"/>
        <Style.Resources>
            <Style TargetType="TextBlock" BasedOn="{StaticResource Styles.ParamSection.Text}"/>
        </Style.Resources>
    </Style>

    
    <!-- 参数页标题 -->
    <Style TargetType="TextBlock" x:Key="Styles.TitleBar.Text">
        <Setter Property="Margin"  Value="160,0,0,0" />
        <Setter Property="Foreground"  Value="White" />
        <Setter Property="FontWeight"  Value="Bold" />
        <Setter Property="FontSize"  Value="60" />
        <Setter Property="FontFamily"  Value="Microsoft Sans Serif" />
        <Setter Property="TextAlignment"  Value="Left" />
        <Setter Property="VerticalAlignment"  Value="Center" />
    </Style>
    <Style TargetType="TextBlock" x:Key="Styles.TitleBar.Text2" BasedOn="{StaticResource Styles.TitleBar.Text}">
        <Setter Property="Foreground"  Value="Black" />
    </Style>
    <!-- 参数页副标题 -->
    <Style TargetType="TextBlock" x:Key="Styles.TitleBar.Text.Sub" BasedOn="{StaticResource Styles.TitleBar.Text}">
        <Setter Property="Foreground"  Value="LightGray" />
        <Setter Property="VerticalAlignment"  Value="Bottom" />
        <Setter Property="Margin"  Value="5,0" />
        <Setter Property="FontSize"  Value="30" />
    </Style>
    <!--标题区,左边的后退键(蓝底白图标)-->
    <Style TargetType="Button" x:Key="Styles.TitleBar.BackButton" BasedOn="{StaticResource Styles.Button.Empty}">
        <Setter Property="Width" Value="80"/>
        <Setter Property="Height" Value="80"/>
        <Setter Property="Margin" Value="0,24"/>
        <Setter Property="Foreground" Value="{StaticResource Brushes.TitleBar.Foreground}"/>
        <Setter Property="Background" Value="{StaticResource Brushes.TitleBar.Background}"/>
        <Setter Property="Content">
            <Setter.Value>
                <iconPacks:PackIconMaterial Kind="ArrowLeftThick" />
            </Setter.Value>
        </Setter>
        <Style.Resources>
            <Style TargetType="iconPacks:PackIconMaterial" >
                <Setter Property="Width" Value="60"/>
                <Setter Property="Height" Value="Auto" />
                <Setter Property="HorizontalAlignment" Value="Right" />
                <Setter Property="VerticalAlignment" Value="Center" />
                <Setter Property="Margin" Value="0" />
            </Style>
        </Style.Resources>
    </Style>



    <!--标题区,左边的后退键(白底蓝图标)-->
    <Style TargetType="Button" x:Key="Styles.TitleBar.BackButton2" BasedOn="{StaticResource Styles.TitleBar.BackButton}">
        <Setter Property="Foreground" Value="{StaticResource Brushes.TitleBar.Background}"/>
        <Setter Property="Background" Value="{StaticResource Brushes.TitleBar.Foreground}"/>
    </Style>

    <!--标题区,左边的后退键(蓝底白图标) 小-->
    <Style TargetType="Button" x:Key="Styles.TitleBar.BackButton3" BasedOn="{StaticResource Styles.Button.Empty}">
        <Setter Property="Margin" Value="0,10"/>
        <Setter Property="Foreground" Value="{StaticResource Brushes.TitleBar.Foreground}"/>
        <Setter Property="Background" Value="{StaticResource Brushes.TitleBar.Background}"/>
        <Setter Property="Width" Value="60"/>
        <Setter Property="Height" Value="60"/>
        <Setter Property="Content">
            <Setter.Value>
                <iconPacks:PackIconMaterial Kind="ArrowLeftBold"/>
            </Setter.Value>
        </Setter>
        <Style.Resources>
            <Style TargetType="iconPacks:PackIconMaterial" >
                <Setter Property="Width" Value="30"/>
                <Setter Property="Height" Value="Auto" />
                <Setter Property="HorizontalAlignment" Value="Center" />
                <Setter Property="VerticalAlignment" Value="Center" />
                <Setter Property="SnapsToDevicePixels" Value="True" />
            </Style>
        </Style.Resources>
    </Style>
    
    <!--标题区,左边的后退键(白底蓝图标) 小-->
    <Style TargetType="Button" x:Key="Styles.TitleBar.BackButton4" BasedOn="{StaticResource Styles.TitleBar.BackButton3}">
        <Setter Property="Foreground" Value="{StaticResource Brushes.TitleBar.Background}"/>
        <Setter Property="Background" Value="{StaticResource Brushes.TitleBar.Foreground}"/>
    </Style>

</ResourceDictionary>