<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/BaseStyle.xaml"/> <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/ButtonStyle.xaml"/> </ResourceDictionary.MergedDictionaries> <!-- 参数设置页 每个section 的标题框 内的标题--> <Style TargetType="TextBlock" x:Key="TextStyle_paramSection"> <Setter Property="Margin" Value="5"/> <Setter Property="Foreground" Value="#FFFFFFFF" /> <Setter Property="FontWeight" Value="Bold" /> <Setter Property="FontSize" Value="30" /> <Setter Property="FontFamily" Value="YouYuan" /> <Setter Property="TextAlignment" Value="Right" /> </Style> <!-- 参数设置页 每个section 的标题框 --> <Style TargetType="Border" x:Key="BorderStyle_paramSection"> <Setter Property="Width" Value="150"/> <Setter Property="Background" Value="{StaticResource Color_theme_activity}"/> <Setter Property="Margin" Value="0,5,5,5"/> <Style.Resources> <Style TargetType="TextBlock" BasedOn="{StaticResource TextStyle_paramSection}"/> </Style.Resources> </Style> <!-- 参数设置页 可点击的 section 的标题框 --> <Style TargetType="{x:Type Button}" x:Key="ButtonStyle_paramSection" BasedOn="{StaticResource ButtonStyle3}"> <Setter Property="Width" Value="150"/> <Setter Property="Margin" Value="0,5,5,5"/> <Style.Resources> <Style TargetType="TextBlock" BasedOn="{StaticResource TextStyle_paramSection}"/> </Style.Resources> </Style> <!-- **废弃** 参数设置页 每个section 的标题框 内的标题 --> <Style TargetType="TextBlock" x:Key="TextBlockStyle_ItemHeader"> <Setter Property="Margin" Value="5"/> <Setter Property="Foreground" Value="#FFFFFFFF" /> <Setter Property="FontWeight" Value="Bold" /> <Setter Property="FontSize" Value="30" /> <Setter Property="FontFamily" Value="YouYuan" /> <Setter Property="TextAlignment" Value="Right" /> </Style> <!-- 参数页标题 --> <Style TargetType="TextBlock" x:Key="TextBlockStyle_Title"> <Setter Property="Margin" Value="160,0,0,0" /> <Setter Property="Foreground" Value="White" /> <Setter Property="FontWeight" Value="Bold" /> <Setter Property="FontSize" Value="60" /> <Setter Property="FontFamily" Value="YouYuan" /> <Setter Property="TextAlignment" Value="Left" /> <Setter Property="VerticalAlignment" Value="Center" /> </Style> <!--标题区,左边的后退键(蓝底白图标)--> <Style TargetType="Button" x:Key="ButtonStyle_back" BasedOn="{StaticResource ButtonStyle_empty}"> <Setter Property="Height" Value="80"/> <Setter Property="Width" Value="80"/> <Setter Property="Margin" Value="0,24"/> <Setter Property="Background" Value="{StaticResource Brush_theme_bar}"/> <Setter Property="Content"> <Setter.Value> <Path Fill="White" Data="{StaticResource Geometry_arrow-left-bold}" SnapsToDevicePixels ="True" Stretch="Fill" Height="60" Width="60" HorizontalAlignment="Right" Margin="0,0,-2,0"/> </Setter.Value> </Setter> </Style> <!--标题区,左边的后退键(白底蓝图标)--> <Style TargetType="Button" x:Key="ButtonStyle_back2" BasedOn="{StaticResource ButtonStyle_empty}"> <Setter Property="Height" Value="80"/> <Setter Property="Width" Value="80"/> <Setter Property="Margin" Value="0,24,0,24"/> <Setter Property="Background" Value="White"/> <Setter Property="Content"> <Setter.Value> <Path Fill="{StaticResource Brush_theme_bar}" Data="{StaticResource Geometry_arrow-left-bold}" SnapsToDevicePixels ="True" Stretch="Fill" Height="60" Width="60" HorizontalAlignment="Right" Margin="0,0,-2,0"/> </Setter.Value> </Setter> </Style> </ResourceDictionary>