<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                    xmlns:base="clr-namespace:HistoryWallEditTool.ControlsForData.MediaControllerLayout"
                    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">

    <LinearGradientBrush x:Key="NormalBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#FFF" Offset="0.0"/>
                <GradientStop Color="#CCC" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="HorizontalNormalBrush" StartPoint="0,0" EndPoint="1,0">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#FFF" Offset="0.0"/>
                <GradientStop Color="#CCC" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="LightBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#FFF" Offset="0.0"/>
                <GradientStop Color="#EEE" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="HorizontalLightBrush" StartPoint="0,0" EndPoint="1,0">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#FFF" Offset="0.0"/>
                <GradientStop Color="#EEE" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="DarkBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#FFF" Offset="0.0"/>
                <GradientStop Color="#B4CBCBCB" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="DarkToggleBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#FF9D9D9E" Offset="0.0"/>
                <GradientStop Color="#FF383332" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="NormalToggleBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#FFF0EFE5" Offset="0.0"/>
                <GradientStop Color="#FFBBB4A3" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="PressedBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#BBB" Offset="0.0"/>
                <GradientStop Color="#EEE" Offset="0.1"/>
                <GradientStop Color="#EEE" Offset="0.9"/>
                <GradientStop Color="#FFF" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="DisabledForegroundBrush" Color="#888" />
    <SolidColorBrush x:Key="DisabledBackgroundBrush" Color="#EEE" />
    <SolidColorBrush x:Key="WindowBackgroundBrush" Color="#FFF" />
    <SolidColorBrush x:Key="SelectedBackgroundBrush" Color="#DDD" />
    <SolidColorBrush x:Key="CustomBrush" Color="#FFA7B1BA" />
    <LinearGradientBrush x:Key="NormalBorderBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#CCC" Offset="0.0"/>
                <GradientStop Color="#444" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="HorizontalNormalBorderBrush" StartPoint="0,0" EndPoint="1,0">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#CCC" Offset="0.0"/>
                <GradientStop Color="#444" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="DefaultedBorderBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#777" Offset="0.0"/>
                <GradientStop Color="#000" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="PressedBorderBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientBrush.GradientStops>
            <GradientStopCollection>
                <GradientStop Color="#444" Offset="0.0"/>
                <GradientStop Color="#888" Offset="1.0"/>
            </GradientStopCollection>
        </GradientBrush.GradientStops>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="DisabledBorderBrush" Color="#AAA" />
    <SolidColorBrush x:Key="SolidBorderBrush" Color="#888" />
    <SolidColorBrush x:Key="LightBorderBrush" Color="#AAA" />
    <SolidColorBrush x:Key="GlyphBrush" Color="#444" />
    <SolidColorBrush x:Key="LightColorBrush" Color="#DDD"/>
    <ImageBrush x:Key="ThumbImage" ImageSource="/HistoryWallEditTool;component/Image/thumb.png" />

    <Style x:Key="SliderButtonStyle" TargetType="{x:Type RepeatButton}">
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="IsTabStop" Value="false"/>
        <Setter Property="Focusable" Value="false"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RepeatButton}">
                    <Border Background="Transparent" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SliderThumbStyle" TargetType="{x:Type Thumb}">
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="Height" Value="14"/>
        <Setter Property="Width" Value="14"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Thumb}">
                    <Border Background="{StaticResource ThumbImage}" CornerRadius="2" BorderThickness="0" Height="30" Margin="0,-10,0,0"
                            BorderBrush="Transparent"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="HorizontalSlider" TargetType="{x:Type Slider}">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto" MinHeight="{TemplateBinding Slider.MinHeight}"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <TickBar 
      Name="TopTick"
      SnapsToDevicePixels="True" 
      Placement="Top"
      Fill="{StaticResource GlyphBrush}"
      Height="4"
      Visibility="Collapsed" />
            <Border 
      Name="TrackBackground"
      Margin="0"
      CornerRadius="2" 
      Height="4"
      Grid.Row="1"
      Background="{StaticResource LightBrush}" 
      BorderBrush="{StaticResource NormalBorderBrush}"
      BorderThickness="1"
                Visibility="Collapsed"/>
            <Track Grid.Row="1" Name="PART_Track">
                <Track.DecreaseRepeatButton>
                    <RepeatButton 
          Style="{StaticResource SliderButtonStyle}"
          Command="Slider.DecreaseLarge" />
                </Track.DecreaseRepeatButton>
                <Track.Thumb>
                    <Thumb Style="{StaticResource SliderThumbStyle}" />
                </Track.Thumb>
                <Track.IncreaseRepeatButton>
                    <RepeatButton 
          Style="{StaticResource SliderButtonStyle}"
          Command="Slider.IncreaseLarge" />
                </Track.IncreaseRepeatButton>
            </Track>
            <TickBar 
      Name="BottomTick"
      SnapsToDevicePixels="True" 
      Grid.Row="2"
      Fill="{TemplateBinding Foreground}"
      Placement="Bottom"
      Height="4"
      Visibility="Collapsed" />
        </Grid>
        <ControlTemplate.Triggers>
            <Trigger Property="TickPlacement" Value="TopLeft">
                <Setter TargetName="TopTick" Property="Visibility" Value="Visible"/>
            </Trigger>
            <Trigger Property="TickPlacement" Value="BottomRight">
                <Setter TargetName="BottomTick" Property="Visibility" Value="Visible"/>
            </Trigger>
            <Trigger Property="TickPlacement" Value="Both">
                <Setter TargetName="TopTick" Property="Visibility" Value="Visible"/>
                <Setter TargetName="BottomTick" Property="Visibility" Value="Visible"/>
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>
    <ControlTemplate x:Key="VerticalSlider" TargetType="{x:Type Slider}">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto" MinWidth="{TemplateBinding Slider.MinWidth}"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <TickBar 
      Name="TopTick"
      SnapsToDevicePixels="True" 
      Placement="Left"
      Fill="{StaticResource GlyphBrush}"
      Width="4"
      Visibility="Collapsed" />
            <Border 
      Name="TrackBackground"
      Margin="0"
      CornerRadius="2" 
      Width="4"
      Grid.Column="1"
      Background="{StaticResource HorizontalLightBrush}" 
      BorderBrush="{StaticResource HorizontalNormalBorderBrush}"
      BorderThickness="1" />
            <Track Grid.Column="1" Name="PART_Track">
                <Track.DecreaseRepeatButton>
                    <RepeatButton 
          Style="{StaticResource SliderButtonStyle}"
          Command="Slider.DecreaseLarge" />
                </Track.DecreaseRepeatButton>
                <Track.Thumb>
                    <Thumb Style="{StaticResource SliderThumbStyle}" />
                </Track.Thumb>
                <Track.IncreaseRepeatButton>
                    <RepeatButton 
          Style="{StaticResource SliderButtonStyle}"
          Command="Slider.IncreaseLarge" />
                </Track.IncreaseRepeatButton>
            </Track>
            <TickBar 
      Name="BottomTick"
      SnapsToDevicePixels="True" 
      Grid.Column="2"
      Fill="{TemplateBinding Foreground}"
      Placement="Right"
      Width="4"
      Visibility="Collapsed" />
        </Grid>
        <ControlTemplate.Triggers>
            <Trigger Property="TickPlacement" Value="TopLeft">
                <Setter TargetName="TopTick" Property="Visibility" Value="Visible"/>
            </Trigger>
            <Trigger Property="TickPlacement" Value="BottomRight">
                <Setter TargetName="BottomTick" Property="Visibility" Value="Visible"/>
            </Trigger>
            <Trigger Property="TickPlacement" Value="Both">
                <Setter TargetName="TopTick" Property="Visibility" Value="Visible"/>
                <Setter TargetName="BottomTick" Property="Visibility" Value="Visible"/>
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>
    <Style x:Key="OpacitySlider"  TargetType="{x:Type Slider}">
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Style.Triggers>
            <Trigger Property="Orientation" Value="Horizontal">
                <Setter Property="MinWidth" Value="104" />
                <Setter Property="MinHeight" Value="21" />
                <Setter Property="Template" Value="{StaticResource HorizontalSlider}" />
            </Trigger>
            <Trigger Property="Orientation" Value="Vertical">
                <Setter Property="MinWidth" Value="21" />
                <Setter Property="MinHeight" Value="104" />
                <Setter Property="Template" Value="{StaticResource VerticalSlider}" />
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Key="TextboxStyle" TargetType="{x:Type TextBox}" xmlns:sys="clr-namespace:System;assembly=mscorlib">
        <Style.Resources>
            <VisualBrush x:Key="CueBannerBrush" AlignmentX="Left" AlignmentY="Center" Stretch="None">
                <VisualBrush.Visual>
                    <Label Background="Transparent" Content="請點擊右側按鈕新增圖檔" Foreground="Black"  />
                </VisualBrush.Visual>
            </VisualBrush>
        </Style.Resources>
        <Style.Triggers>
            <Trigger Property="Text" Value="{x:Static sys:String.Empty}">
                <Setter Property="Background" Value="{StaticResource CueBannerBrush}" />
            </Trigger>
            <Trigger Property="Text" Value="{x:Null}">
                <Setter Property="Background" Value="{StaticResource CueBannerBrush}" />
            </Trigger>
            <Trigger Property="IsKeyboardFocused" Value="True">
                <Setter Property="Background" Value="White" />
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Key="SimpleTextBox" TargetType="{x:Type TextBox}">
        <Setter Property="KeyboardNavigation.TabNavigation" Value="None"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="AllowDrop" Value="true"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type TextBox}">
                    <Grid>
                        <Border x:Name="Border" 
                                BorderThickness="1" Padding="2" CornerRadius="2">
                            <ScrollViewer Margin="0" x:Name="PART_ContentHost" Background="{TemplateBinding Background}"/>
                        </Border>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter Property="Background" Value="Transparent" TargetName="Border"/>
                            <Setter Property="BorderBrush" Value="Transparent" TargetName="Border"/>
                            <Setter Property="Foreground" Value="Transparent"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <ControlTemplate TargetType="ToggleButton" x:Key="ComboBoxToggleButtonTemplate">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition Width="32" />
            </Grid.ColumnDefinitions>
            <Border BorderBrush="Transparent" CornerRadius="5" Name="Border" Background="{StaticResource NormalToggleBrush}"  Grid.ColumnSpan="2" />
            <Border Margin="5" Width="20" Height="20" BorderBrush="Transparent" Background="{StaticResource DarkToggleBrush}" CornerRadius="2" 
                    Grid.Column="1" />
            <Path Margin="0,0,0,0" Data="M0,0L4,4 8,0z" HorizontalAlignment="Center" Fill="White" Name="Arrow" VerticalAlignment="Center" Width="8" Grid.Column="1" />
        </Grid>
        <ControlTemplate.Triggers>
            <Trigger Property="UIElement.IsMouseOver" Value="True">
                <!--<Setter Property="Panel.Background" TargetName="Border" Value="WhiteSmoke"/>-->
            </Trigger>
            <Trigger Property="ToggleButton.IsChecked" Value="True">
                <Setter Property="Panel.Background" TargetName="Border" Value="WhiteSmoke"/>
                <Setter Property="Shape.Fill" TargetName="Arrow" Value="#FF8D979E"/>
            </Trigger>
            <Trigger Property="UIElement.IsEnabled" Value="False">
                <Setter Property="Panel.Background" TargetName="Border" Value="{StaticResource DisabledBackgroundBrush}"/>
                <Setter Property="Border.BorderBrush" TargetName="Border" Value="{StaticResource DisabledBorderBrush}"/>
                <Setter Property="TextElement.Foreground" Value="{StaticResource DisabledForegroundBrush}"/>
                <Setter Property="Shape.Fill" TargetName="Arrow" Value="#66FFFFFF"/>
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>
    <ControlTemplate TargetType="TextBox" x:Key="ComboBoxTextBoxTemplate">
        <Border Name="PART_ContentHost" Background="AliceBlue" Focusable="False" />
    </ControlTemplate>
    <Style TargetType="{x:Type ComboBoxItem}">
        <Setter Property="UIElement.SnapsToDevicePixels" Value="True"/>
        <Setter Property="FrameworkElement.FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="TextElement.Foreground"  Value="Black"/>
        <Setter Property="FrameworkElement.OverridesDefaultStyle" Value="True"/>
        <Setter Property="Control.Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ComboBoxItem}">
                    <Border Name="Border" SnapsToDevicePixels="True" Padding="2,2,2,2" >
                        <ContentPresenter ContentTemplate="{TemplateBinding ContentControl.ContentTemplate}" 
                                          Content="{TemplateBinding ContentControl.Content}" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ComboBoxItem.IsHighlighted" Value="True">
                            <Setter Property="Panel.Background" TargetName="Border" Value="{StaticResource CustomBrush}"/>
                        </Trigger>
                        <Trigger Property="UIElement.IsEnabled" Value="False">
                            <Setter Property="TextElement.Foreground" Value="{StaticResource DisabledForegroundBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="btnBrowse" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Key="Default">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFAFA590"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFFFCEF"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.838799, 0.802101254, 0.720368862"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFD7D0C8"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFEFFFE"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.864506245, 0.85055095, 0.8212539"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFDFDAD3"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="label">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF4F4A4B"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="Over">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#4CDFDAD3"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#0.1, 0.864506245, 0.85055095, 0.8212539"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF232323"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.08865558, 0.08865558, 0.08650046"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF4B4947"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF5C5B59"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#00FEFFFE"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="label">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF10315C"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)" Storyboard.TargetName="path1">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.43"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="Press">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF272727"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="sc#1, 0.045186203, 0.045186203, 0.045186203"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF232323"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF0A0A0A"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Offset)" Storyboard.TargetName="path">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.851"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)" Storyboard.TargetName="path">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.265"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#00FEFFFE"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="sc#0.05, 0.864506245, 0.85055095, 0.8212539"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#4CDFDAD3"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)" Storyboard.TargetName="path1">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.667"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)" Storyboard.TargetName="path1">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="label">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="White"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Canvas x:Name="圖層_1">
                        <Path x:Name="path" Data="F1M380.045,1090.218C377.321,1090.218,375.106,1092.437,375.106,1095.165L375.106,1095.165L375.106,1124.392C375.106,1127.12,377.321,1129.335,380.045,1129.335L380.045,1129.335L445.479,1129.335C448.21,1129.335,450.425,1127.12,450.425,1124.392L450.425,1124.392L450.425,1095.165C450.425,1092.437,448.21,1090.218,445.479,1090.218L445.479,1090.218z" Height="39.117" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="75.319">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFFFFCEF" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.8397713, 0.802101254, 0.720368862" Offset="0.13729480781474709"/>
                                    <GradientStop Color="#FFD7D0C8" Offset="0.38037100434303284"/>
                                    <GradientStop Color="#FFB0A590" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path x:Name="path1" Data="F1M380.045,1090.218C377.321,1090.218,375.106,1092.437,375.106,1095.165L375.106,1095.165L375.106,1106.743L450.425,1106.743L450.425,1095.165C450.425,1092.437,448.21,1090.218,445.479,1090.218L445.479,1090.218z" Height="16.525" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="75.319">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFFEFFFE" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.864506245, 0.85055095, 0.8212539" Offset="0.36094972491264343"/>
                                    <GradientStop Color="#FFDFDAD3" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Label x:Name="label" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Foreground="Black" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Height="39" Width="78"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <MultiTrigger>
                            <MultiTrigger.Conditions>
                                <Condition Property="IsDefaulted" Value="True"/>
                                <Condition Property="IsPressed" Value="False"/>
                            </MultiTrigger.Conditions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard
						x:Name="Default_BeginStoryboard" Storyboard="{StaticResource Default}"/>
                            </MultiTrigger.EnterActions>
                        </MultiTrigger>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Trigger.EnterActions>
                                <BeginStoryboard
						x:Name="Over_BeginStoryboard" Storyboard="{StaticResource Over}"/>
                            </Trigger.EnterActions>
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Name="Default_BeginStoryboard1"
						Storyboard="{StaticResource Default}"/>
                            </Trigger.ExitActions>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="btnDialog" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Key="Default">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#7FF4F7F4"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="Transparent"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFEFFFE"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.872022152, 0.854187846, 0.8282447"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFE1DBD5"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFFFEF1"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.843342662, 0.817790866, 0.735120654"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFD8D2CA"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFB2A792"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFA5978D"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="Over">
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)" Storyboard.TargetName="path">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#7FD8D2CA"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Offset)" Storyboard.TargetName="path">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.88"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#0.2, 0.843342662, 0.817790866, 0.735120654"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#66525251"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#66181716"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)" Storyboard.TargetName="path">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.213"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#D82BDEF5"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF57B1BC"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)" Storyboard.TargetName="path1">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF67A1B4"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#99BCC4C8"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)" Storyboard.TargetName="path2">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.349"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#0.3, 0.872022152, 0.854187846, 0.8282447"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#66E1DBD5"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="pressed">
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="圖層_1">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Canvas x:Name="圖層_1">
                        <Canvas Height="77.106" Canvas.Left="2" Opacity="0.5" Canvas.Top="3" Width="248">
                            <Path Data="F1M676.365,972L454.924,972C447.56,972,442,977.869,442,985.442L442,1021.028C442,1028.599,447.56,1035,454.924,1035L552.799,1035L551.188,1049.106L574.963,1035L676.365,1035C683.73,1035,690,1028.599,690,1021.028L690,985.442C690,977.869,683.73,972,676.365,972" Height="77.106" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="248">
                                <Path.Fill>
                                    <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                        <GradientStop Color="#FF2A2320" Offset="0"/>
                                        <GradientStop Color="sc#1, 0.290746868, 0.287573874, 0.289577663" Offset="0.61146122217178345"/>
                                        <GradientStop Color="#FFC5C5C6" Offset="1"/>
                                    </LinearGradientBrush>
                                </Path.Fill>
                            </Path>
                        </Canvas>
                        <Path x:Name="path3" Data="F1M674.3652,969L452.9242,969C445.5592,969,440.0002,974.869,440.0002,982.442L440.0002,1018.028C440.0002,1025.599,445.5592,1032,452.9242,1032L550.7992,1032L549.1872,1046.106L572.9632,1032L674.3652,1032C681.7302,1032,688.0002,1025.599,688.0002,1018.028L688.0002,982.442C688.0002,974.869,681.7302,969,674.3652,969" Fill="#FFA5978D" Height="77.106" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="248"/>
                        <Path x:Name="path" Data="F1M452.924,969.932C446.221,969.932,440.786,975.53,440.786,982.442L440.786,982.442L440.786,983.759L440.786,995.963L440.786,1018.028C440.786,1024.937,446.221,1030.54,452.924,1030.54L452.924,1030.54L674.365,1030.54C681.066,1030.54,686.501,1024.937,686.501,1018.028L686.501,1018.028L686.501,995.963L686.501,983.759L686.501,982.442C686.501,975.53,681.066,969.932,674.365,969.932L674.365,969.932z" Height="60.608" Canvas.Left="0.786" Stretch="Fill" Canvas.Top="0.932" Width="245.715">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                    <GradientStop Color="#FFFFFEF1" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.843342662, 0.817790866, 0.735120654" Offset="0.13729480781474709"/>
                                    <GradientStop Color="#FFD8D2CA" Offset="0.38037100434303284"/>
                                    <GradientStop Color="#FFB2A792" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path x:Name="path1" Data="M674.3652,969.9316L452.9242,969.9316C446.2202,969.9316,440.7862,975.5306,440.7862,982.4426L440.7862,983.7586L440.7862,995.9626L440.7862,1018.0286C440.7862,1024.9376,446.2202,1030.5396,452.9242,1030.5396L674.3652,1030.5396C681.0662,1030.5396,686.5012,1024.9376,686.5012,1018.0286L686.5012,995.9626L686.5012,983.7586L686.5012,982.4426C686.5012,975.5306,681.0662,969.9316,674.3652,969.9316z" Height="62.608" Canvas.Left="-0.214" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" Stroke="#FFA5978D" StrokeThickness="2" StrokeMiterLimit="10" StrokeLineJoin="Miter" Canvas.Top="-0.068" Width="247.715">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#7FF4F7F4" Offset="0"/>
                                    <GradientStop Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Canvas Height="32.792" Canvas.Left="2.015" Canvas.Top="1.989" Width="243.279">
                            <Canvas.Clip>
                                <PathGeometry Figures="M453.976,970.989 C447.373,970.989 442.015,976.508 442.015,983.322 L442.015,983.322 L442.015,988.916 L442.015,991.448 C442.015,998.258 447.373,1003.781 453.976,1003.781 L453.976,1003.781 L673.331,1003.781 C679.933,1003.781 685.292,998.258 685.294,991.453 L685.294,991.453 L685.294,988.916 L685.294,983.322 C685.294,976.508 679.936,970.989 673.331,970.989 L673.331,970.989 z" FillRule="Nonzero">
                                    <PathGeometry.Transform>
                                        <MatrixTransform Matrix="1,0,0,1,-442.015014648438,-970.989013671875"/>
                                    </PathGeometry.Transform>
                                </PathGeometry>
                            </Canvas.Clip>
                            <Path x:Name="path2" Data="F1M453.976,970.989C447.373,970.989,442.015,976.508,442.015,983.322L442.015,983.322L442.015,988.916L442.015,991.448C442.015,998.258,447.373,1003.781,453.976,1003.781L453.976,1003.781L673.331,1003.781C679.933,1003.781,685.292,998.258,685.294,991.453L685.294,991.453L685.294,988.916L685.294,983.322C685.294,976.508,679.936,970.989,673.331,970.989L673.331,970.989z" Height="32.792" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="243.279" OpacityMask="{x:Null}">
                                <Path.Fill>
                                    <LinearGradientBrush EndPoint="0.5,1.003" StartPoint="0.5,0">
                                        <GradientStop Color="#FFFEFFFE" Offset="0"/>
                                        <GradientStop Color="sc#1, 0.872022152, 0.854187846, 0.8282447" Offset="0.36094972491264343"/>
                                        <GradientStop Color="#FFE1DBD5" Offset="1"/>
                                    </LinearGradientBrush>
                                </Path.Fill>
                            </Path>
                        </Canvas>
                        <Label x:Name="label" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Height="67" Width="244"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <EventTrigger RoutedEvent="FrameworkElement.Loaded"/>
                        <Trigger Property="IsFocused" Value="True"/>
                        <Trigger Property="IsDefaulted" Value="True">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Default_BeginStoryboard" Storyboard="{StaticResource Default}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard Storyboard="{StaticResource Default}"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Over_BeginStoryboard" Storyboard="{StaticResource Over}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="btnPressDialog" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Canvas x:Name="圖層_1">
                        <Canvas Height="77.106" Canvas.Left="2" Opacity="0.5" Canvas.Top="3" Width="248">
                            <Path Data="F1M676.365,972L454.924,972C447.56,972,442,977.869,442,985.442L442,1021.028C442,1028.599,447.56,1035,454.924,1035L552.799,1035L551.188,1049.106L574.963,1035L676.365,1035C683.73,1035,690,1028.599,690,1021.028L690,985.442C690,977.869,683.73,972,676.365,972" Height="77.106" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="248">
                                <Path.Fill>
                                    <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                        <GradientStop Color="#FF2A2320" Offset="0"/>
                                        <GradientStop Color="sc#1, 0.290746868, 0.287573874, 0.289577663" Offset="0.61146122217178345"/>
                                        <GradientStop Color="#FFC5C5C6" Offset="1"/>
                                    </LinearGradientBrush>
                                </Path.Fill>
                            </Path>
                        </Canvas>
                        <Path x:Name="path3" Data="F1M674.3652,969L452.9242,969C445.5592,969,440.0002,974.869,440.0002,982.442L440.0002,1018.028C440.0002,1025.599,445.5592,1032,452.9242,1032L550.7992,1032L549.1872,1046.106L572.9632,1032L674.3652,1032C681.7302,1032,688.0002,1025.599,688.0002,1018.028L688.0002,982.442C688.0002,974.869,681.7302,969,674.3652,969" Fill="#FFA5978D" Height="77.106" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="248"/>
                        <Path x:Name="path" Data="F1M452.924,969.932C446.221,969.932,440.786,975.53,440.786,982.442L440.786,982.442L440.786,983.759L440.786,995.963L440.786,1018.028C440.786,1024.937,446.221,1030.54,452.924,1030.54L452.924,1030.54L674.365,1030.54C681.066,1030.54,686.501,1024.937,686.501,1018.028L686.501,1018.028L686.501,995.963L686.501,983.759L686.501,982.442C686.501,975.53,681.066,969.932,674.365,969.932L674.365,969.932z" Height="60.608" Canvas.Left="0.786" Stretch="Fill" Canvas.Top="0.932" Width="245.715">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                    <GradientStop Color="#66525251" Offset="0"/>
                                    <GradientStop Color="sc#0.2, 0.843342662, 0.817790866, 0.735120654" Offset="0.213"/>
                                    <GradientStop Color="#7FD8D2CA" Offset="0.88"/>
                                    <GradientStop Color="#66181716" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path x:Name="path1" Data="M674.3652,969.9316L452.9242,969.9316C446.2202,969.9316,440.7862,975.5306,440.7862,982.4426L440.7862,983.7586L440.7862,995.9626L440.7862,1018.0286C440.7862,1024.9376,446.2202,1030.5396,452.9242,1030.5396L674.3652,1030.5396C681.0662,1030.5396,686.5012,1024.9376,686.5012,1018.0286L686.5012,995.9626L686.5012,983.7586L686.5012,982.4426C686.5012,975.5306,681.0662,969.9316,674.3652,969.9316z" Height="62.608" Canvas.Left="-0.214" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" Stroke="#FF67A1B4" StrokeThickness="2" StrokeMiterLimit="10" StrokeLineJoin="Miter" Canvas.Top="-0.068" Width="247.715">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#D82BDEF5" Offset="0"/>
                                    <GradientStop Color="#FF57B1BC" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Canvas Height="32.792" Canvas.Left="2.015" Canvas.Top="1.989" Width="243.279">
                            <Canvas.Clip>
                                <PathGeometry Figures="M453.976,970.989 C447.373,970.989 442.015,976.508 442.015,983.322 L442.015,983.322 L442.015,988.916 L442.015,991.448 C442.015,998.258 447.373,1003.781 453.976,1003.781 L453.976,1003.781 L673.331,1003.781 C679.933,1003.781 685.292,998.258 685.294,991.453 L685.294,991.453 L685.294,988.916 L685.294,983.322 C685.294,976.508 679.936,970.989 673.331,970.989 L673.331,970.989 z" FillRule="Nonzero">
                                    <PathGeometry.Transform>
                                        <MatrixTransform Matrix="1,0,0,1,-442.015014648438,-970.989013671875"/>
                                    </PathGeometry.Transform>
                                </PathGeometry>
                            </Canvas.Clip>
                            <Path x:Name="path2" Data="F1M453.976,970.989C447.373,970.989,442.015,976.508,442.015,983.322L442.015,983.322L442.015,988.916L442.015,991.448C442.015,998.258,447.373,1003.781,453.976,1003.781L453.976,1003.781L673.331,1003.781C679.933,1003.781,685.292,998.258,685.294,991.453L685.294,991.453L685.294,988.916L685.294,983.322C685.294,976.508,679.936,970.989,673.331,970.989L673.331,970.989z" Height="32.792" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="243.279" OpacityMask="{x:Null}">
                                <Path.Fill>
                                    <LinearGradientBrush EndPoint="0.5,1.003" StartPoint="0.5,0">
                                        <GradientStop Color="#99BCC4C8" Offset="0"/>
                                        <GradientStop Color="sc#0.3, 0.872022152, 0.854187846, 0.8282447" Offset="0.349"/>
                                        <GradientStop Color="#66E1DBD5" Offset="1"/>
                                    </LinearGradientBrush>
                                </Path.Fill>
                            </Path>
                        </Canvas>
                        <Label x:Name="label" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Height="67" Width="244"/>
                    </Canvas>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="btnButton" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Key="Default">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFFFEF1"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.843342662, 0.817790866, 0.735120654"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFD8D2CA"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFB2A792"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFFFEF1"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFB2A792"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFEFFFE"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.872022152, 0.854187846, 0.8282447"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFE1DBD5"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="Over">
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)" Storyboard.TargetName="path">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#7FD8D2CA"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Offset)" Storyboard.TargetName="path">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.88"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#0.2, 0.843342662, 0.817790866, 0.735120654"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#66525251"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#66181716"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)" Storyboard.TargetName="path">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.213"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <SplineColorKeyFrame KeyTime="0:0:0.2" Value="#D82BDEF5"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)" Storyboard.TargetName="path1">
                                <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF57B1BC"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#99BCC4C8"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)" Storyboard.TargetName="path2">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.349"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#0.3, 0.872022152, 0.854187846, 0.8282447"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#66E1DBD5"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="pressed">
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="圖層_1">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Canvas x:Name="圖層_1">
                        <Canvas Height="77.106" Canvas.Left="2" Opacity="0.5" Canvas.Top="3" Width="248"/>
                        <Path x:Name="path" Data="F1M452.924,969.932C446.221,969.932,440.786,975.53,440.786,982.442L440.786,982.442L440.786,983.759L440.786,995.963L440.786,1018.028C440.786,1024.937,446.221,1030.54,452.924,1030.54L452.924,1030.54L674.365,1030.54C681.066,1030.54,686.501,1024.937,686.501,1018.028L686.501,1018.028L686.501,995.963L686.501,983.759L686.501,982.442C686.501,975.53,681.066,969.932,674.365,969.932L674.365,969.932z" Height="60.608" Canvas.Left="0.786" Stretch="Fill" Canvas.Top="0.932" Width="245.715">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                    <GradientStop Color="#FFFFFEF1" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.843342662, 0.817790866, 0.735120654" Offset="0.13729480781474709"/>
                                    <GradientStop Color="#FFD8D2CA" Offset="0.38037100434303284"/>
                                    <GradientStop Color="#FFB2A792" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path x:Name="path1" Data="M674.3652,969.9316L452.9242,969.9316C446.2202,969.9316,440.7862,975.5306,440.7862,982.4426L440.7862,983.7586L440.7862,995.9626L440.7862,1018.0286C440.7862,1024.9376,446.2202,1030.5396,452.9242,1030.5396L674.3652,1030.5396C681.0662,1030.5396,686.5012,1024.9376,686.5012,1018.0286L686.5012,995.9626L686.5012,983.7586L686.5012,982.4426C686.5012,975.5306,681.0662,969.9316,674.3652,969.9316z" Height="62.608" Canvas.Left="-0.214" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" Stroke="{x:Null}" StrokeThickness="1" StrokeMiterLimit="10" StrokeLineJoin="Miter" Canvas.Top="-0.068" Width="247.715">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                    <GradientStop Color="#FFFFFEF1" Offset="0"/>
                                    <GradientStop Color="#FFB2A792" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Canvas Height="32.792" Canvas.Left="2.015" Canvas.Top="1.989" Width="243.279">
                            <Canvas.Clip>
                                <PathGeometry Figures="M453.976,970.989 C447.373,970.989 442.015,976.508 442.015,983.322 L442.015,983.322 L442.015,988.916 L442.015,991.448 C442.015,998.258 447.373,1003.781 453.976,1003.781 L453.976,1003.781 L673.331,1003.781 C679.933,1003.781 685.292,998.258 685.294,991.453 L685.294,991.453 L685.294,988.916 L685.294,983.322 C685.294,976.508 679.936,970.989 673.331,970.989 L673.331,970.989 z" FillRule="Nonzero">
                                    <PathGeometry.Transform>
                                        <MatrixTransform Matrix="1,0,0,1,-442.015014648438,-970.989013671875"/>
                                    </PathGeometry.Transform>
                                </PathGeometry>
                            </Canvas.Clip>
                            <Path x:Name="path2" Data="F1M453.976,970.989C447.373,970.989,442.015,976.508,442.015,983.322L442.015,983.322L442.015,988.916L442.015,991.448C442.015,998.258,447.373,1003.781,453.976,1003.781L453.976,1003.781L673.331,1003.781C679.933,1003.781,685.292,998.258,685.294,991.453L685.294,991.453L685.294,988.916L685.294,983.322C685.294,976.508,679.936,970.989,673.331,970.989L673.331,970.989z" Height="32.792" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="243.279" OpacityMask="{x:Null}">
                                <Path.Fill>
                                    <LinearGradientBrush EndPoint="0.5,1.003" StartPoint="0.5,0">
                                        <GradientStop Color="#FFFEFFFE" Offset="0"/>
                                        <GradientStop Color="sc#1, 0.872022152, 0.854187846, 0.8282447" Offset="0.36094972491264343"/>
                                        <GradientStop Color="#FFE1DBD5" Offset="1"/>
                                    </LinearGradientBrush>
                                </Path.Fill>
                            </Path>
                        </Canvas>
                        <Label x:Name="label" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Height="67" Width="244"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsFocused" Value="True"/>
                        <Trigger Property="IsDefaulted" Value="True">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Default_BeginStoryboard" Storyboard="{StaticResource Default}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard Storyboard="{StaticResource Default}"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Over_BeginStoryboard" Storyboard="{StaticResource Over}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="btnClose" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Key="Default">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FFB6B6B7"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FFF4F4F4"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="Over">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FFF70909"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF262627"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF252525"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF404041"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)" Storyboard.TargetName="path">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.863"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Canvas x:Name="圖層_1">
                        <Path x:Name="path" Data="F1M436.073,1111.789C436.073,1118.961,441.883,1124.775,449.062,1124.775L449.062,1124.775C456.234,1124.775,462.047,1118.961,462.047,1111.789L462.047,1111.789C462.047,1104.615,456.234,1098.799,449.062,1098.799L449.062,1098.799C441.883,1098.799,436.073,1104.615,436.073,1111.789" Height="25.976" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="25.974">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                    <GradientStop Color="#FFB6B6B7" Offset="0"/>
                                    <GradientStop Color="#FFB6B6B7" Offset="0.30000299215316772"/>
                                    <GradientStop Color="#FF89898A" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path x:Name="path1" Data="F1M454.6406,1118.0469C454.6406,1118.2149,454.5486,1118.3109,454.3356,1118.3109L452.6996,1118.3109C452.5606,1118.3109,452.4396,1118.2379,452.3656,1118.1189L448.9786,1113.1619L445.5856,1118.0699C445.4686,1118.2379,445.3496,1118.3109,445.1836,1118.3109L443.7596,1118.3109C443.5726,1118.3109,443.4806,1118.2379,443.4806,1118.0699C443.4806,1117.9749,443.5236,1117.8829,443.5956,1117.7659L447.8636,1111.6719L443.8316,1105.8609C443.7596,1105.7419,443.7146,1105.6469,443.7146,1105.5549C443.7146,1105.3629,443.8316,1105.2679,444.0686,1105.2679L445.6116,1105.2679C445.7796,1105.2679,445.9436,1105.3869,446.0816,1105.5999L449.0976,1110.0569L452.1306,1105.5999C452.2986,1105.3869,452.4666,1105.2679,452.6306,1105.2679L454.0036,1105.2679C454.2206,1105.2679,454.3146,1105.3629,454.3146,1105.5549C454.3146,1105.6469,454.2636,1105.7419,454.1976,1105.8609L450.2086,1111.5269L454.5486,1117.7659C454.6206,1117.8589,454.6406,1117.9549,454.6406,1118.0469" Fill="#FFF4F4F4" Height="13.043" Canvas.Left="7.408" Stretch="Fill" Canvas.Top="6.469" Width="11.16"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsFocused" Value="True"/>
                        <Trigger Property="IsDefaulted" Value="True">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Default_BeginStoryboard" Storyboard="{StaticResource Default}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard Storyboard="{StaticResource Default}"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Over_BeginStoryboard" Storyboard="{StaticResource Over}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True"/>
                        <Trigger Property="IsEnabled" Value="False"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="btnLeftTabControl" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Key="Default">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFB2A792"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFFFEF1"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.8468732, 0.817790866, 0.735120654"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFD8D2CA"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFA5978D"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFEFFFE"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.872022152, 0.854187846, 0.8282447"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFE1DBD5"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="label">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="Black"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="Over">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF57B1BC"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.5583404, 0.9046612, 0.913098633"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF84E4EB"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF57B1BC"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF458EAD"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#00FEFFFF"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#0.3, 0.8307699, 0.8713671, 0.8631572"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#7FE1DBD5"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)" Storyboard.TargetName="path2">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="label">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF10315C"/>
                            </ColorAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)" Storyboard.TargetName="path">
                                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Canvas x:Name="圖層_1">
                        <Path x:Name="path" Data="F1M374.616,930.448C369.094,930.448,363,934.51,363,939.815L363,939.815L363,980.17C363,985.477,369.343,989.777,374.865,989.777L374.865,989.777L685.425,989.937L716.821,960.142L685.425,930.345z" Height="59.592" Canvas.Left="0" Stretch="Fill" Canvas.Top="0.127" Width="353.821">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFFFFEF1" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.843342662, 0.817790866, 0.735120654" Offset="0.13729480781474709"/>
                                    <GradientStop Color="#FFD8D2CA" Offset="0.38037100434303284"/>
                                    <GradientStop Color="#FFB2A792" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path x:Name="path1" Data="M685.4248,989.9375L716.8208,960.1415L685.4248,930.3445L374.6158,930.4475C369.0928,930.4475,362.9998,934.5095,362.9998,939.8155L362.9998,980.1695C362.9998,985.4765,369.3428,989.7775,374.8658,989.7775L685.4248,989.9375z" Height="61.593" Canvas.Left="-1" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" Stroke="#FFA5978D" StrokeThickness="2" StrokeMiterLimit="10" StrokeLineJoin="Miter" Canvas.Top="-0.874" Width="355.821"/>
                        <Path x:Name="path2" Data="F1M375.404,930.448C369.88,930.448,365,934.51,365,939.815L365,939.815L365,955L710.246,955L683.943,930.218z" Height="24.782" Canvas.Left="2" Stretch="Fill" Canvas.Top="0" Width="345.246" Stroke="{x:Null}">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1.003" StartPoint="0.5,0">
                                    <GradientStop Color="#FFFEFFFE" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.872022152, 0.854187846, 0.8282447" Offset="0.36094972491264343"/>
                                    <GradientStop Color="#FFE1DBD5" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Label x:Name="label" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Height="63" Width="348.314"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsFocused" Value="True"/>
                        <Trigger Property="IsDefaulted" Value="True">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Default_BeginStoryboard" Storyboard="{StaticResource Default}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard Storyboard="{StaticResource Default}"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Over_BeginStoryboard" Storyboard="{StaticResource Over}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True"/>
                        <Trigger Property="IsEnabled" Value="False"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="btnLeftTabControlClick" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Canvas x:Name="圖層_1">
                        <Path x:Name="path" Data="F1M374.616,930.448C369.094,930.448,363,934.51,363,939.815L363,939.815L363,980.17C363,985.477,369.343,989.777,374.865,989.777L374.865,989.777L685.425,989.937L716.821,960.142L685.425,930.345z" Height="59.592" Canvas.Left="0" Stretch="Fill" Canvas.Top="0.127" Width="353.821">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FF57B1BC" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.5583404, 0.9046612, 0.913098633" Offset="0.13729480781474709"/>
                                    <GradientStop Color="#FF84E4EB" Offset="0.38037100434303284"/>
                                    <GradientStop Color="#FF57B1BC" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path x:Name="path1" Data="M685.4248,989.9375L716.8208,960.1415L685.4248,930.3445L374.6158,930.4475C369.0928,930.4475,362.9998,934.5095,362.9998,939.8155L362.9998,980.1695C362.9998,985.4765,369.3428,989.7775,374.8658,989.7775L685.4248,989.9375z" Height="61.593" Canvas.Left="-1" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" Stroke="#FF458EAD" StrokeThickness="2" StrokeMiterLimit="10" StrokeLineJoin="Miter" Canvas.Top="-0.874" Width="355.821"/>
                        <Path x:Name="path2" Data="F1M375.404,930.448C369.88,930.448,365,934.51,365,939.815L365,939.815L365,955L710.246,955L683.943,930.218z" Height="24.782" Canvas.Left="2" Stretch="Fill" Canvas.Top="0" Width="345.246" Stroke="{x:Null}">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1.003" StartPoint="0.5,0">
                                    <GradientStop Color="#00FEFFFF" Offset="0"/>
                                    <GradientStop Color="sc#0.3, 0.8307699, 0.8713671, 0.8631572" Offset="0.36094972491264343"/>
                                    <GradientStop Color="#7FE1DBD5" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Label x:Name="label" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Foreground="#FF10315C" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Height="63" Width="348.314"/>
                    </Canvas>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="btnCenterTabControl" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Key="Default">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFB2A792"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFA5978D"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFFFEF1"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.8468732, 0.817790866, 0.735120654"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFD8D2CA"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFEFFFE"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.8713671, 0.854187846, 0.8282447"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFE1DBD5"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="label">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="Transparent"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="Over">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF57B1BC"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.5583404, 0.9046612, 0.913098633"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF84E4D8"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF57B1BC"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF458EAD"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#00FEFFFF"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#0.3, 0.8307699, 0.8713671, 0.8631572"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#7FE1DBD5"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="label">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF10315C"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Canvas x:Name="圖層_1">
                        <Path x:Name="path" Data="F1M686.563,1024.523L717.27,1055.098L686.257,1086L367.257,1086L398.27,1055.098L367.563,1025.01z" Height="61.477" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="350.013">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFFFFEF1" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.843342662, 0.817790866, 0.735120654" Offset="0.13729480781474709"/>
                                    <GradientStop Color="#FFD8D2CA" Offset="0.38037100434303284"/>
                                    <GradientStop Color="#FFB2A792" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path x:Name="path1" Data="M686.5625,1024.5234L717.2695,1055.0974L686.2565,1086.0004L367.2565,1086.0004L398.2695,1055.0974L367.5625,1025.0094L686.5625,1024.5234z" Height="63.477" Canvas.Left="-1" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" Stroke="#FFA5978D" StrokeThickness="2" StrokeMiterLimit="10" StrokeLineJoin="Miter" Canvas.Top="-1" Width="352.013"/>
                        <Path x:Name="path2" Data="F1M369.804,1025.8L395.691,1051L711.723,1051L685.805,1025.644z" Height="25.356" Canvas.Left="2.547" Stretch="Fill" Canvas.Top="1.121" Width="341.919" d:IsHidden="True">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,0.992" StartPoint="0.5,0">
                                    <GradientStop Color="#FFFEFFFE" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.872022152, 0.854187846, 0.8282447" Offset="0.36094972491264343"/>
                                    <GradientStop Color="#FFE1DBD5" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Label x:Name="label" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Height="63" Width="348.314"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsFocused" Value="True"/>
                        <Trigger Property="IsDefaulted" Value="True">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Default_BeginStoryboard" Storyboard="{StaticResource Default}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard Storyboard="{StaticResource Default}"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Over_BeginStoryboard" Storyboard="{StaticResource Over}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True"/>
                        <Trigger Property="IsEnabled" Value="False"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="btnCenterTabControlClick" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Canvas x:Name="圖層_1">
                        <Path x:Name="path" Data="F1M686.563,1024.523L717.27,1055.098L686.257,1086L367.257,1086L398.27,1055.098L367.563,1025.01z" Height="61.477" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="350.013">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FF57B1BC" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.5583404, 0.9046612, 0.913098633" Offset="0.13729480781474709"/>
                                    <GradientStop Color="#FF84E4D8" Offset="0.38037100434303284"/>
                                    <GradientStop Color="#FF57B1BC" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path x:Name="path1" Data="M686.5625,1024.5234L717.2695,1055.0974L686.2565,1086.0004L367.2565,1086.0004L398.2695,1055.0974L367.5625,1025.0094L686.5625,1024.5234z" Height="63.477" Canvas.Left="-1" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" Stroke="#FF458EAD" StrokeThickness="2" StrokeMiterLimit="10" StrokeLineJoin="Miter" Canvas.Top="-1" Width="352.013"/>
                        <Path x:Name="path2" Data="F1M369.804,1025.8L395.691,1051L711.723,1051L685.805,1025.644z" Height="25.356" Canvas.Left="2.547" Stretch="Fill" Canvas.Top="1.121" Width="341.919" d:IsHidden="True">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,0.992" StartPoint="0.5,0">
                                    <GradientStop Color="#00FEFFFF" Offset="0"/>
                                    <GradientStop Color="sc#0.3, 0.8307699, 0.8713671, 0.8631572" Offset="0.36094972491264343"/>
                                    <GradientStop Color="#7FE1DBD5" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Label x:Name="label" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Foreground="#FF10315C" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Height="63" Width="348.314"/>
                    </Canvas>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="btnRightTabControl" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Key="Default">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFFFEF1"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.8468732, 0.817790866, 0.735120654"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFD8D2CA"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFB2A792"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFA5978D"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFFEFFFE"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.8713671, 0.854187846, 0.8282447"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFE1DBD5"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="label">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="Black"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="Over">
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF57B1BC"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#1, 0.5583404, 0.9046612, 0.913098633"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF84E4EB"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF57B1BC"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF458EAD"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#7FE1DBD5"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#00FEFFFF"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path2">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="sc#0.3, 0.8307699, 0.8713671, 0.8631572"/>
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="label">
                                <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FF10315C"/>
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Canvas x:Name="圖層_1">
                        <Path x:Name="path" Data="F1M391.686,978L423.833,1010.149L393.981,1040L732.808,1040C738.329,1040,741,1034.604,741,1029.081L741,1029.081L741,987.081C741,981.558,738.329,978,732.808,978L732.808,978z" Height="62" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="349.314">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFFFFEF1" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.843342662, 0.817790866, 0.735120654" Offset="0.13729480781474709"/>
                                    <GradientStop Color="#FFD8D2CA" Offset="0.38037100434303284"/>
                                    <GradientStop Color="#FFB2A792" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path x:Name="path1" Data="M732.8076,978L391.6866,978L423.8326,1010.148L393.9816,1040L732.8076,1040C738.3286,1040,740.9996,1034.604,740.9996,1029.081L740.9996,987.081C740.9996,981.559,738.3286,978,732.8076,978z" Height="64" Canvas.Left="-0.999" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" Stroke="#FFA5978D" StrokeThickness="2" StrokeMiterLimit="10" StrokeLineJoin="Miter" Canvas.Top="-1" Width="351.313"/>
                        <Path x:Name="path2" Data="F1M393.686,979L419.684,1005L740,1005L740,989.081C740,983.559,736.329,979,730.807,979L730.807,979z" Height="26" Canvas.Left="2" Stretch="Fill" Canvas.Top="1" Width="346.314">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1.116" StartPoint="0.5,0">
                                    <GradientStop Color="#FFFEFFFE" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.872022152, 0.854187846, 0.8282447" Offset="0.36094972491264343"/>
                                    <GradientStop Color="#FFE1DBD5" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Label x:Name="label" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Height="63" Width="348.314"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsFocused" Value="True"/>
                        <Trigger Property="IsDefaulted" Value="True">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Default_BeginStoryboard" Storyboard="{StaticResource Default}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard Storyboard="{StaticResource Default}"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Over_BeginStoryboard" Storyboard="{StaticResource Over}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True"/>
                        <Trigger Property="IsEnabled" Value="False"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="btnRightTabControlClick" TargetType="{x:Type Button}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Canvas x:Name="圖層_1">
                        <Path x:Name="path" Data="F1M391.686,978L423.833,1010.149L393.981,1040L732.808,1040C738.329,1040,741,1034.604,741,1029.081L741,1029.081L741,987.081C741,981.558,738.329,978,732.808,978L732.808,978z" Height="62" Canvas.Left="0" Stretch="Fill" Canvas.Top="0" Width="349.314">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FF57B1BC" Offset="0"/>
                                    <GradientStop Color="sc#1, 0.5583404, 0.9046612, 0.913098633" Offset="0.13729480781474709"/>
                                    <GradientStop Color="#FF84E4EB" Offset="0.38037100434303284"/>
                                    <GradientStop Color="#FF57B1BC" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Path x:Name="path1" Data="M732.8076,978L391.6866,978L423.8326,1010.148L393.9816,1040L732.8076,1040C738.3286,1040,740.9996,1034.604,740.9996,1029.081L740.9996,987.081C740.9996,981.559,738.3286,978,732.8076,978z" Height="64" Canvas.Left="-0.999" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" Stroke="#FF458EAD" StrokeThickness="2" StrokeMiterLimit="10" StrokeLineJoin="Miter" Canvas.Top="-1" Width="351.313"/>
                        <Path x:Name="path2" Data="F1M393.686,979L419.684,1005L740,1005L740,989.081C740,983.559,736.329,979,730.807,979L730.807,979z" Height="26" Canvas.Left="2" Stretch="Fill" Canvas.Top="1" Width="346.314">
                            <Path.Fill>
                                <LinearGradientBrush EndPoint="0.5,1.116" StartPoint="0.5,0">
                                    <GradientStop Color="#00FEFFFF" Offset="0"/>
                                    <GradientStop Color="sc#0.3, 0.8307699, 0.8713671, 0.8631572" Offset="0.36094972491264343"/>
                                    <GradientStop Color="#7FE1DBD5" Offset="1"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <Label x:Name="label" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Foreground="#FF10315C" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" Height="63" Width="348.314"/>
                    </Canvas>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="ScrollBarThumb"
           TargetType="{x:Type Thumb}">
        <Setter Property="OverridesDefaultStyle"
                Value="true"/>
        <Setter Property="IsTabStop"
                Value="false"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Thumb}">
                    <Grid>
                        <Rectangle
                            Fill="Black"
                            />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HorizontalScrollBarPageButton"
           TargetType="{x:Type RepeatButton}">
        <Setter Property="OverridesDefaultStyle"
                Value="true"/>
        <Setter Property="Background"
                Value="Transparent"/>
        <Setter Property="Focusable"
                Value="false"/>
        <Setter Property="IsTabStop"
                Value="false"/>
        <Setter Property="Opacity"
                Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RepeatButton}">
                    <Rectangle Fill="{TemplateBinding Background}"
                               Width="{TemplateBinding Width}"
                               Height="{TemplateBinding Height}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="VerticalScrollBarPageButton"
           TargetType="{x:Type RepeatButton}">
        <Setter Property="OverridesDefaultStyle"
                Value="true"/>
        <Setter Property="Background"
                Value="Transparent"/>
        <Setter Property="Focusable"
                Value="false"/>
        <Setter Property="IsTabStop"
                Value="false"/>
        <Setter Property="Opacity"
                Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RepeatButton}">
                    <Rectangle Fill="{TemplateBinding Background}"
                               Width="{TemplateBinding Width}"
                               Height="{TemplateBinding Height}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="for_scrollbar"
           TargetType="{x:Type ScrollBar}">
        <Setter Property="Stylus.IsPressAndHoldEnabled"
                Value="false"/>
        <Setter Property="Stylus.IsFlicksEnabled"
                Value="false"/>
        <Setter Property="Background"
                Value="Transparent"/>
        <Setter Property="Margin"
                Value="0,1,1,6"/>
        <Setter Property="Width"
                Value="5"/>
        <Setter Property="MinWidth"
                Value="5"/>
        <Setter Property="Opacity"
                Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ScrollBar}">
                    <Grid x:Name="Bg" SnapsToDevicePixels="true">
                        <Track x:Name="PART_Track"
                               IsEnabled="{TemplateBinding IsMouseOver}"
                               IsDirectionReversed="true">
                            <Track.DecreaseRepeatButton>
                                <RepeatButton
                                    Style="{StaticResource VerticalScrollBarPageButton}"
                                    Command="{x:Static ScrollBar.PageUpCommand}"/>
                            </Track.DecreaseRepeatButton>
                            <Track.IncreaseRepeatButton>
                                <RepeatButton
                                    Style="{StaticResource VerticalScrollBarPageButton}"
                                    Command="{x:Static ScrollBar.PageDownCommand}"/>
                            </Track.IncreaseRepeatButton>
                            <Track.Thumb>
                                <Thumb Style="{StaticResource ScrollBarThumb}"/>
                            </Track.Thumb>
                        </Track>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="Orientation"
                     Value="Horizontal">
                <Setter Property="Background"
                        Value="Transparent"/>
                <Setter Property="Margin"
                        Value="1,0,6,1"/>
                <Setter Property="Height"
                        Value="5"/>
                <Setter Property="MinHeight"
                        Value="5"/>
                <Setter Property="Width"
                        Value="Auto"/>
                <Setter Property="Opacity"
                        Value="0"/>
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{x:Type ScrollBar}">
                            <Grid x:Name="Bg" SnapsToDevicePixels="true">
                                <Track x:Name="PART_Track"
                                       IsEnabled="{TemplateBinding IsMouseOver}">
                                    <Track.DecreaseRepeatButton>
                                        <RepeatButton Style="{StaticResource HorizontalScrollBarPageButton}"
                                                      Command="{x:Static ScrollBar.PageLeftCommand}"/>
                                    </Track.DecreaseRepeatButton>
                                    <Track.IncreaseRepeatButton>
                                        <RepeatButton Style="{StaticResource HorizontalScrollBarPageButton}"
                                                      Command="{x:Static ScrollBar.PageRightCommand}"/>
                                    </Track.IncreaseRepeatButton>
                                    <Track.Thumb>
                                        <Thumb Style="{StaticResource ScrollBarThumb}"/>
                                    </Track.Thumb>
                                </Track>
                            </Grid>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>
    <!--
    <Style TargetType="{x:Type ScrollViewer}">
        <Setter Property="BorderBrush"
                Value="Black"/>
        <Setter Property="BorderThickness"
                Value="0"/>
        <Setter Property="HorizontalContentAlignment"
                Value="Left"/>
        <Setter Property="HorizontalScrollBarVisibility"
                Value="Auto"/>
        <Setter Property="VerticalContentAlignment"
                Value="Top"/>
        <Setter Property="VerticalScrollBarVisibility"
                Value="Auto"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ScrollViewer}">
                    <Border BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            SnapsToDevicePixels="True">
                        <Grid Background="{TemplateBinding Background}">
                            <ScrollContentPresenter
                                Cursor="{TemplateBinding Cursor}"
                                Margin="{TemplateBinding Padding}"
                                ContentTemplate="{TemplateBinding ContentTemplate}"/>
                            <ScrollBar x:Name="PART_VerticalScrollBar"
                                       HorizontalAlignment="Right"
                                       Maximum="{TemplateBinding ScrollableHeight}"
                                       Orientation="Vertical"
                                       Style="{StaticResource for_scrollbar}"
                                       ViewportSize="{TemplateBinding ViewportHeight}"
                                       Value="{TemplateBinding VerticalOffset}"
                                       Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"/>
                            <ScrollBar x:Name="PART_HorizontalScrollBar"
                                       Maximum="{TemplateBinding ScrollableWidth}"
                                       Orientation="Horizontal"
                                       Style="{StaticResource for_scrollbar}"
                                       VerticalAlignment="Bottom"
                                       Value="{TemplateBinding HorizontalOffset}"
                                       ViewportSize="{TemplateBinding ViewportWidth}"
                                       Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"/>
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <EventTrigger RoutedEvent="ScrollChanged">
                            <BeginStoryboard>
                                <Storyboard>
                                    <DoubleAnimation
                                        Storyboard.TargetName="PART_VerticalScrollBar"
                                        Storyboard.TargetProperty="Opacity"
                                        To="1"
                                        Duration="0:0:0.5"/>
                                    <DoubleAnimation
                                        Storyboard.TargetName="PART_VerticalScrollBar"
                                        Storyboard.TargetProperty="Opacity"
                                        To="0"
                                        Duration="0:0:0.5"
                                        BeginTime="0:0:0.5"/>
                                    <DoubleAnimation
                                        Storyboard.TargetName="PART_HorizontalScrollBar"
                                        Storyboard.TargetProperty="Opacity"
                                        To="1"
                                        Duration="0:0:0.5"/>
                                    <DoubleAnimation
                                        Storyboard.TargetName="PART_HorizontalScrollBar"
                                        Storyboard.TargetProperty="Opacity"
                                        To="0"
                                        Duration="0:0:0.5"
                                        BeginTime="0:0:0.5"/>
                                </Storyboard>
                            </BeginStoryboard>
                        </EventTrigger>
                        <EventTrigger RoutedEvent="MouseEnter"
                                      SourceName="PART_VerticalScrollBar">
                            <BeginStoryboard>
                                <Storyboard>
                                    <DoubleAnimation
                                        Storyboard.TargetName="PART_VerticalScrollBar"
                                        Storyboard.TargetProperty="Opacity"
                                        To="1"
                                        Duration="0:0:0.5"/>
                                </Storyboard>
                            </BeginStoryboard>
                        </EventTrigger>
                        <EventTrigger RoutedEvent="MouseLeave"
                                      SourceName="PART_VerticalScrollBar">
                            <BeginStoryboard>
                                <Storyboard>
                                    <DoubleAnimation
                                        Storyboard.TargetName="PART_VerticalScrollBar"
                                        Storyboard.TargetProperty="Opacity"
                                        To="0"
                                        Duration="0:0:0.5"/>
                                </Storyboard>
                            </BeginStoryboard>
                        </EventTrigger>
                        <EventTrigger RoutedEvent="MouseEnter"
                                      SourceName="PART_HorizontalScrollBar">
                            <BeginStoryboard>
                                <Storyboard>
                                    <DoubleAnimation
                                        Storyboard.TargetName="PART_HorizontalScrollBar"
                                        Storyboard.TargetProperty="Opacity"
                                        To="1"
                                        Duration="0:0:0.5"/>
                                </Storyboard>
                            </BeginStoryboard>
                        </EventTrigger>
                        <EventTrigger RoutedEvent="MouseLeave"
                                      SourceName="PART_HorizontalScrollBar">
                            <BeginStoryboard>
                                <Storyboard>
                                    <DoubleAnimation
                                        Storyboard.TargetName="PART_HorizontalScrollBar"
                                        Storyboard.TargetProperty="Opacity"
                                        To="0"
                                        Duration="0:0:0.5"/>
                                </Storyboard>
                            </BeginStoryboard>
                        </EventTrigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    -->

    <Style TargetType="{x:Type RadioButton}" x:Key="uxTopRadioButton">
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RadioButton}">
                    <Grid x:Name="uxRootGrid"  Width="{TemplateBinding Width}" Height="{TemplateBinding Height}"
                              Stylus.IsPressAndHoldEnabled="False" FocusVisualStyle="{x:Null}">
                        <Border x:Name="uxBorder" VerticalAlignment="Top" HorizontalAlignment="Left" Width="{TemplateBinding Width}" 
                                         Height="{TemplateBinding Height}" FocusVisualStyle="{x:Null}" BorderThickness="1" BorderBrush="Black"
                                         Background="White" CornerRadius="0" />
                        <TextBlock x:Name="uxTextBlock" Foreground="Black" VerticalAlignment="Center" HorizontalAlignment="Center" FocusVisualStyle="{x:Null}" Text="{TemplateBinding Content}" FontSize="20"
                                    />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="true">
                            <Setter TargetName="uxBorder" Property="Background" Value="#FF0E6EB8"/>
                            <Setter TargetName="uxTextBlock" Property="Foreground" Value="White"/>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="uxTextBlock" Property="FontSize" Value="21"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="uxTextBlock" Property="Opacity" Value="0.5"/>
                            <Setter TargetName="uxBorder" Property="Background" Value="LightGray"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="{x:Type RadioButton}" x:Key="uxTimelineRadioButton">
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RadioButton}">
                    <StackPanel x:Name="uxRootGrid"  Width="{TemplateBinding Width}" Height="{TemplateBinding Height}"
                              Stylus.IsPressAndHoldEnabled="False" FocusVisualStyle="{x:Null}" Orientation="Horizontal">
                        <Grid Margin="2,0,5,0" VerticalAlignment="Center">
                            <Ellipse Width="26" Height="26" Fill="White" Stroke="Black" StrokeThickness="1"/>
                            <Ellipse x:Name="uxEllipse" Width="14" Height="14" Fill="Transparent" Stroke="Transparent"/>
                        </Grid>
                        <TextBlock x:Name="uxTextBlock" Foreground="Black"  VerticalAlignment="Center"  HorizontalAlignment="Center" FocusVisualStyle="{x:Null}" Text="{TemplateBinding Content}" FontSize="16"/>
                    </StackPanel>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="true">
                            <Setter TargetName="uxEllipse" Property="Fill" Value="#FF0E6EB8"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="uxRootGrid" Property="Opacity" Value="0.2"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="{x:Type RadioButton}" x:Key="uxSettingRadioButton">
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RadioButton}">
                    <Grid x:Name="uxRootGrid"  Width="{TemplateBinding Width}"  Height="{TemplateBinding Height}"
                              Stylus.IsPressAndHoldEnabled="False" FocusVisualStyle="{x:Null}">
                        <Border x:Name="uxBorder" VerticalAlignment="Top" HorizontalAlignment="Left" 
                                Width="{TemplateBinding Width}"  Height="{TemplateBinding Height}" 
                                FocusVisualStyle="{x:Null}" BorderThickness="1"      
                                Background="Transparent" CornerRadius="0"/>
                        <TextBlock x:Name="uxTextBlock" Foreground="Black"  VerticalAlignment="Center"  
                                   HorizontalAlignment="Center" FocusVisualStyle="{x:Null}" Text="{TemplateBinding Content}" 
                                   FontSize="20"/>
                        <Border Width="{Binding ElementName=uxTextBlock, Path=ActualWidth}" x:Name="uxUnderLine"
                                BorderBrush="#FF0E6EB8" BorderThickness="0,0,0,1" Visibility="Hidden"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="true">
                            <Setter TargetName="uxTextBlock" Property="Foreground" Value="#FF0E6EB8"/>
                            <Setter TargetName="uxUnderLine" Property="Visibility" Value="Visible"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="uxTextBlock" Property="Opacity" Value="0.5"/>
                            <Setter TargetName="uxBorder" Property="Background" Value="LightGray"/>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="uxTextBlock" Property="FontSize" Value="22"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="{x:Type Button}" x:Key="uxWindow_Close">
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Canvas x:Name="uxCanvas" Width="50" Height="50" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0" RenderTransformOrigin="0.5,0.5" Background="Black">
                        <Path Width="30" Height="30" Canvas.Left="10" Canvas.Top="10" Stretch="Fill" Fill="#FFFFFFFF" Data="F1 M 19,19L 38,35L 57,19L 60,22L 41,38L 60,54L 57,57L 38,41L 19,57L 16,54L 35,38L 16,22 Z "/>
                    </Canvas>

                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="uxCanvas" Property="Opacity" Value="0.6"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="uxCanvas" Property="Opacity" Value="0.2"/>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="true">
                            <Setter TargetName="uxCanvas" Property="Canvas.RenderTransform" >
                                <Setter.Value>
                                    <ScaleTransform ScaleX ="0.8" ScaleY ="0.8"></ScaleTransform>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="{x:Type Button}" x:Key="uxWindow_Miniscreen">
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Canvas x:Name="uxCanvas" Width="50" Height="50" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0" Background="Black" RenderTransformOrigin="0.5,0.5">
                        <Path Width="34" Height="6" Canvas.Left="8" Canvas.Top="22" Stretch="Fill" Fill="#FFFFFFFF" Data="F1 M 15,19L 57,19 L57,20 15 20 Z "/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="uxCanvas" Property="Opacity" Value="0.6"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="uxCanvas" Property="Opacity" Value="0.2"/>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="true">
                            <Setter TargetName="uxCanvas" Property="Canvas.RenderTransform" >
                                <Setter.Value>
                                    <ScaleTransform ScaleX ="0.8" ScaleY ="0.8"></ScaleTransform>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="{x:Type Button}" x:Key="uxEvent_Arrange">
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Grid x:Name="uxRootGrid"  Width="{TemplateBinding Width}"  Height="{TemplateBinding Height}"
                              Stylus.IsPressAndHoldEnabled="False" FocusVisualStyle="{x:Null}">
                        <Border x:Name="uxBorder" VerticalAlignment="Top" HorizontalAlignment="Left" 
                                Width="{TemplateBinding Width}"  Height="{TemplateBinding Height}" 
                                FocusVisualStyle="{x:Null}" BorderThickness="1" BorderBrush="Black"     
                                Background="White" CornerRadius="0"/>
                        <TextBlock x:Name="uxTextBlock" Foreground="Black"  VerticalAlignment="Center"  
                                   HorizontalAlignment="Center" FocusVisualStyle="{x:Null}" Text="{TemplateBinding Content}" 
                                   FontSize="28" TextWrapping="Wrap" TextAlignment="Center"/>
                        <Grid.Effect>
                            <DropShadowEffect Opacity="0.2"></DropShadowEffect>
                        </Grid.Effect>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsPressed" Value="true">
                            <Setter TargetName="uxBorder" Property="Background" Value="#FF0E6EB8"/>
                            <Setter TargetName="uxTextBlock" Property="Foreground" Value="White"/>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="uxTextBlock" Property="FontSize" Value="29"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="uxTextBlock" Property="Opacity" Value="0.5"/>
                            <Setter TargetName="uxBorder" Property="Background" Value="LightGray"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ListBoxItemChild" TargetType="{x:Type ListBoxItem}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ListBoxItem}">
                    <Border>
                        <Grid x:Name="uxMainGd">
                            <Grid x:Name="uxSelect" Width="270" Height="60" HorizontalAlignment="Left" Margin="42,0, 0, 0" 
                                  Background="Gray" ></Grid>
                            <ContentPresenter  />
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="uxMainGd" Property="Opacity" Value="0.8" />
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="false">
                            <Setter TargetName="uxMainGd" Property="Opacity" Value="1" />
                        </Trigger>
                        <Trigger Property="IsSelected" Value="true">
                            <Setter TargetName="uxSelect" Property="Background" Value="#FF0E6EB8" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ListBoxItemBitmap" TargetType="{x:Type ListBoxItem}">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ListBoxItem">
                    <Border x:Name="uxBorder" Width="280" Height="195" BorderBrush="#AA000000"
                            HorizontalAlignment="Left" BorderThickness="1"  Margin="0,0,0,10">

                        <ContentControl ContentTemplate="{TemplateBinding ContentTemplate}" 
                                        Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" 
                                        HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" 
                                        Margin="{TemplateBinding Padding}" 
                                        VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>

                    <ControlTemplate.Triggers>
                        <Trigger Property="IsSelected" Value="true">
                            <Setter TargetName="uxBorder" Property="Background" Value="#AA000000" />
                        </Trigger>
                        <Trigger Property="IsSelected" Value="false">
                            <Setter TargetName="uxBorder" Property="Background" Value="White" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="{x:Type base:PlayCheckBoxStyle}" x:Key="PlayCheckBox">
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type base:PlayCheckBoxStyle}">
                    <Border x:Name="uxBorder" 
                                VerticalAlignment="Top" 
                                HorizontalAlignment="Center" 
                                FocusVisualStyle="{x:Null}" 
                                CornerRadius="0"
                                Width="{TemplateBinding ActualWidth}" 
                                Height="{TemplateBinding ActualHeight}" 
                                Stylus.IsPressAndHoldEnabled="False" 
                                Background="{TemplateBinding CheckedBrush}" 
                                RenderTransformOrigin="0.5,0.5">
                        <Border.RenderTransform>
                            <ScaleTransform ScaleX="1.0" ScaleY="1.0"/>
                        </Border.RenderTransform>
                        <Border.Triggers>
                            <EventTrigger RoutedEvent="Mouse.MouseEnter">
                                <BeginStoryboard>
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" 
                                                             To="0.8" 
                                                             Duration="0:0:0.15"/>
                                        <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" 
                                                             To="0.8" 
                                                             Duration="0:0:0.15"/>
                                    </Storyboard>
                                </BeginStoryboard>
                            </EventTrigger>
                            <EventTrigger RoutedEvent="Mouse.MouseLeave">
                                <BeginStoryboard>
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" 
                                                             To="1.0" 
                                                             Duration="0:0:0.15"/>
                                        <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" 
                                                             To="1.0" 
                                                             Duration="0:0:0.15"/>
                                    </Storyboard>
                                </BeginStoryboard>
                            </EventTrigger>
                        </Border.Triggers>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="true">
                            <Setter TargetName="uxBorder" 
                                        Property="Background" 
                                        Value="{Binding RelativeSource={RelativeSource TemplatedParent}, 
                                        Path=UncheckedBrush}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="{x:Type base:StopButtonStyle}" x:Key="StopButton">
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type base:StopButtonStyle}">
                    <Border x:Name="uxBorder" 
                                VerticalAlignment="Top" 
                                HorizontalAlignment="Center" 
                                FocusVisualStyle="{x:Null}" 
                                CornerRadius="0"
                                Width="{TemplateBinding ActualWidth}" 
                                Height="{TemplateBinding ActualHeight}" 
                                Stylus.IsPressAndHoldEnabled="False" 
                                Background="{TemplateBinding TriggerBrush}" 
                                RenderTransformOrigin="0.5,0.5">
                        <Border.RenderTransform>
                            <ScaleTransform ScaleX="1.0" 
                                                ScaleY="1.0"/>
                        </Border.RenderTransform>
                        <Border.Triggers>
                            <EventTrigger RoutedEvent="Mouse.MouseEnter">
                                <BeginStoryboard>
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" 
                                                             To="0.8" 
                                                             Duration="0:0:0.15"/>
                                        <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" 
                                                             To="0.8" 
                                                             Duration="0:0:0.15"/>
                                    </Storyboard>
                                </BeginStoryboard>
                            </EventTrigger>
                            <EventTrigger RoutedEvent="Mouse.MouseLeave">
                                <BeginStoryboard>
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" 
                                                             To="1.0" 
                                                             Duration="0:0:0.15"/>
                                        <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" 
                                                             To="1.0" 
                                                             Duration="0:0:0.15"/>
                                    </Storyboard>
                                </BeginStoryboard>
                            </EventTrigger>
                        </Border.Triggers>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>