<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf" xmlns:local="clr-namespace:FLY.Thick.Base.UI" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Themes/Styles.xaml"/> <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Converter/Dictionary_MyConv.xaml"/> </ResourceDictionary.MergedDictionaries> <!--<Style x:Key="Styles.Card.Title" TargetType="TextBlock"> <Setter Property="Background" Value="#FFC107"/> <Setter Property="FontSize" Value="18"/> <Setter Property="HorizontalAlignment" Value="Right"/> <Setter Property="Padding" Value="20 5"/> <Setter Property="FontWeight" Value="Bold"/> </Style> <Style x:Key="Styles.Card.Border" TargetType="Border"> <Setter Property="Margin" Value="5"/> <Setter Property="Background" Value="{StaticResource MahApps.Brushes.ThemeBackground}"/> <Setter Property="CornerRadius" Value="3"/> <Setter Property="Padding" Value="8"/> <Setter Property="BorderThickness" Value="1"/> <Setter Property="BorderBrush" Value="{StaticResource MahApps.Brushes.Gray8}"/> <Setter Property="Effect"> <Setter.Value> <DropShadowEffect Color="{StaticResource MahApps.Brushes.Gray1}" Opacity=".25" BlurRadius="5" ShadowDepth="3"/> </Setter.Value> </Setter> </Style>--> <Style x:Key="Styles.Axis.Section" TargetType="lvc:AxisSection" > <Setter Property="StrokeThickness" Value="1"/> <Setter Property="DataLabel" Value="False"/> <Setter Property="DisableAnimations" Value="True"/> <Setter Property="DataLabelForeground" Value="White"/> <Setter Property="Opacity" Value="0.1"/> <Setter Property="Stroke" Value="#FFFDC8C8"/> <Setter Property="Fill" Value="#59F7D8D8"/> <!--<Setter Property="Fill" Value="Orange" />--> </Style> <Style TargetType="{x:Type ToggleButton}" x:Key="Styles.ToggleButton.Check" > <Setter Property="HorizontalContentAlignment" Value="Center"/> <Setter Property="VerticalContentAlignment" Value="Center"/> <Setter Property="Padding" Value="1"/> <Setter Property="Background" Value="Transparent"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ToggleButton}"> <Border Background="{TemplateBinding Background}" CornerRadius="2" > <iconPacks:PackIconMaterial x:Name="icon" Kind="CheckboxBlankOutline" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}" /> </Border> <ControlTemplate.Triggers> <Trigger Property="IsChecked" Value="True"> <Setter TargetName="icon" Property="Kind" Value="CheckboxMarkedOutline"/> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary>