Styles.xaml 2.81 KB
<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"
                    >
    <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 Source="pack://application:,,,/FLY.Thick.Base.UI;component/Converter/Dictionary_MyConv.xaml"/>
        <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Themes/Styles.xaml"/>
        <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Themes/GraphStyle.xaml"/>
        <ResourceDictionary Source="pack://application:,,,/FLY.FeedbackRenZiJia.UI.Client;component/Themes/Colors.xaml"/>
    </ResourceDictionary.MergedDictionaries>


    <Style TargetType="TextBlock" BasedOn="{StaticResource Styles.Text.FieldHeader}" x:Key="Text.FieldHeader2">
        <Setter Property="FontSize" Value="15" />
    </Style>
    <Style TargetType="TextBlock" BasedOn="{StaticResource Styles.Text.FieldHeader.Editable}" x:Key="Text.FieldHeaderEditable2">
        <Setter Property="FontSize" Value="15" />
    </Style>

    <Style TargetType="TextBox" BasedOn="{StaticResource Styles.Text.FieldContent.Input.Card}" x:Key="Text.FieldContentInput2">
        <Setter Property="FontSize" Value="20" />
    </Style>
    <Style TargetType="TextBlock" BasedOn="{StaticResource Styles.Text.FieldContent}" x:Key="Text.FieldContent2">
        <Setter Property="FontSize" Value="15" />
    </Style>

    <Style TargetType="TextBlock" BasedOn="{StaticResource Styles.Text.FieldContent.Unit}" x:Key="Text.FieldContentMm2">
        <Setter Property="FontSize" Value="15" />
    </Style>
    <Style x:Key="AxisSectionStyle" TargetType="lvc:AxisSection" >
        <Setter Property="StrokeThickness" Value="1"/>
        <Setter Property="DataLabel" Value="True"/>
        <Setter Property="DisableAnimations" Value="True"/>
        <Setter Property="DataLabelForeground" Value="White"/>
        <Setter Property="Opacity" Value="0.5"/>
        <Setter Property="Panel.ZIndex" Value="1"/>
    </Style>
    <SolidColorBrush x:Key="Badges.Background">#99FFFFFF</SolidColorBrush>

    <Thickness x:Key="Badges.Margin">2.5 0</Thickness>

    <SolidColorBrush x:Key="Badges.BlackBackground">#99000000</SolidColorBrush>
    <SolidColorBrush x:Key="Badges.BlackForeground">White</SolidColorBrush>
    <SolidColorBrush x:Key="Badges.AccentBackground">#99008BE5</SolidColorBrush>
    <SolidColorBrush x:Key="Badges.AccentForeground">White</SolidColorBrush>

</ResourceDictionary>