<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 MahApps.Colors.Accent2}"/>
    <SolidColorBrush x:Key="Brushes.TitleBar.Foreground" Color="{StaticResource MahApps.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="YouYuan" />
        <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="YouYuan" />
        <Setter Property="TextAlignment"  Value="Left" />
        <Setter Property="VerticalAlignment"  Value="Center" />
    </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" 
                                            HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0" 
                                            Width="60" Height="auto" />
            </Setter.Value>
        </Setter>
    </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="{Binding Width,RelativeSource={RelativeSource Mode=Self}}"/>
        <Setter Property="Content">
            <Setter.Value>
                <iconPacks:PackIconMaterial Kind="ArrowLeftBold" SnapsToDevicePixels ="True" Width="30" Height="auto" HorizontalAlignment="Center" VerticalAlignment="Center"/>
            </Setter.Value>
        </Setter>
    </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>