<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" > <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/> <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Converter/Dictionary_MyConv.xaml"/> </ResourceDictionary.MergedDictionaries> <Thickness x:Key="ControlMargin">5</Thickness> <Style TargetType="Button" x:Key="ButtonStyle_icon" BasedOn="{StaticResource ButtonStyle_empty}"> <Style.Resources> <Style TargetType="TextBlock" > <Setter Property="FontSize" Value="15"/> <Setter Property="Foreground" Value="Black"/> <Setter Property="HorizontalAlignment" Value="Center"/> </Style> <Style TargetType="iconPacks:PackIconMaterial" > <Setter Property="Height" Value="40"/> <Setter Property="Width" Value="40"/> <Setter Property="HorizontalAlignment" Value="Center"/> </Style> </Style.Resources> <Style.Setters> <Setter Property="Foreground" Value="{StaticResource Color_theme_activity}"/> <Setter Property="Margin" Value="{StaticResource ControlMargin}"/> <Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="HorizontalAlignment" Value="Center"/> </Style.Setters> </Style> <Style TargetType="Button" x:Key="ButtonStyle_smallIcon" BasedOn="{StaticResource ButtonStyle_empty}"> <Style.Resources> <Style TargetType="iconPacks:PackIconMaterial" > <Setter Property="Height" Value="25"/> <Setter Property="Width" Value="25"/> <Setter Property="HorizontalAlignment" Value="Center"/> </Style> </Style.Resources> <Style.Setters> <Setter Property="Foreground" Value="{StaticResource Color_theme_activity}"/> <Setter Property="Margin" Value="{StaticResource ControlMargin}"/> <Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="HorizontalAlignment" Value="Center"/> </Style.Setters> </Style> <Style TargetType="Button" x:Key="ButtonStyle_largeIcon" BasedOn="{StaticResource ButtonStyle_empty}"> <Style.Resources> <Style TargetType="TextBlock" > <Setter Property="FontSize" Value="18"/> <Setter Property="Foreground" Value="Black"/> <Setter Property="HorizontalAlignment" Value="Center"/> </Style> <Style TargetType="iconPacks:PackIconMaterial" > <Setter Property="Height" Value="50"/> <Setter Property="Width" Value="50"/> <Setter Property="HorizontalAlignment" Value="Center"/> </Style> </Style.Resources> <Style.Setters> <Setter Property="Foreground" Value="{StaticResource Color_theme_activity}"/> <Setter Property="Margin" Value="{StaticResource ControlMargin}"/> <Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="HorizontalAlignment" Value="Center"/> </Style.Setters> </Style> <Style TargetType="Button" x:Key="ButtonStyle_back" BasedOn="{StaticResource ButtonStyle_empty}"> <Setter Property="Margin" Value="0,10"/> <Setter Property="Foreground" Value="White"/> <Setter Property="Background" Value="{StaticResource Brush_theme_bar}"/> <Setter Property="Width" Value="60"/> <Setter Property="Height" Value="{Binding Width,RelativeSource={RelativeSource Mode=Self}}"/> <Setter Property="Content"> <Setter.Value> <iconPacks:PackIconMaterial Kind="ArrowLeftBold" SnapsToDevicePixels ="True" Width="30" Height="auto" HorizontalAlignment="Center" VerticalAlignment="Center"/> </Setter.Value> </Setter> </Style> <Style TargetType="StackPanel" x:Key="SpStyle_Header"> <Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="Margin" Value="160,0,0,0"/> <Setter Property="Orientation" Value="Horizontal"/> <Style.Resources> <Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle_Title}"> <Setter Property="Foreground" Value="#FF3A3A3A"/> <Setter Property="FontSize" Value="40"/> <Setter Property="Margin" Value="0"/> </Style> </Style.Resources> </Style> <Style TargetType="TextBlock" x:Key="TextBlockStyle_SubHeader" > <Setter Property="Foreground" Value="{StaticResource Color_theme_activity}"/> <Setter Property="FontSize" Value="20"/> <Setter Property="VerticalAlignment" Value="Bottom"/> </Style> <Style x:Key="ButtonStyle_clickMe" TargetType="{x:Type Button}"> <Setter Property="FocusVisualStyle"> <Setter.Value> <Style> <Setter Property="Control.Template"> <Setter.Value> <ControlTemplate> <Rectangle Margin="2" SnapsToDevicePixels="True" Stroke="{StaticResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/> </ControlTemplate> </Setter.Value> </Setter> </Style> </Setter.Value> </Setter> <Setter Property="Background" Value="Transparent"/> <Setter Property="BorderBrush" Value="#FF931616"/> <Setter Property="Foreground" Value="#FF931616"/> <Setter Property="BorderThickness" Value="8"/> <Setter Property="Margin" Value="10"/> <Setter Property="HorizontalContentAlignment" Value="Center"/> <Setter Property="VerticalContentAlignment" Value="Center"/> <Setter Property="Padding" Value="1"/> <Setter Property="FontSize" Value="40"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True"> <ContentPresenter x:Name="contentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" > </ContentPresenter> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary>