WorkTool/Styles/Label.xaml

(开头部分) 10KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<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:,,,/WorkTool;component/Styles/BaseStyle.xaml"></ResourceDictionary>
    </ResourceDictionary.MergedDictionaries>
    <!--基样式-->
    <Style x:Key="LabelBaseStyle" BasedOn="{StaticResource BaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="Padding" Value="0"/>
    </Style>
    <!--默认样式-->
    <Style BasedOn="{StaticResource LabelBaseStyle}" TargetType="{x:Type Label}"/>

    <!--标题 源码行数:990-1104-->
    <!--标题-->
    <!--基样式-->
    <Style x:Key="HBaseStyle" BasedOn="{StaticResource LabelBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontWeight" Value="{DynamicResource HFontWeight}"/>
        <Setter Property="Foreground" Value="{DynamicResource HForeground}"/>
        <Setter Property="Margin" Value="{DynamicResource HMargin}"/>
    </Style>
    <Style x:Key="h1" BasedOn="{StaticResource HBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{DynamicResource H1FontSize}"/>
    </Style>
    <Style x:Key="h2" BasedOn="{StaticResource HBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{DynamicResource H2FontSize}"/>
    </Style>
    <Style x:Key="h3" BasedOn="{StaticResource HBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{DynamicResource H3FontSize}"/>
    </Style>
    <Style x:Key="h4" BasedOn="{StaticResource HBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{DynamicResource H4FontSize}"/>
    </Style>
    <Style x:Key="h5" BasedOn="{StaticResource HBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{DynamicResource H5FontSize}"/>
    </Style>
    <Style x:Key="h6" BasedOn="{StaticResource HBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{DynamicResource H6FontSize}"/>
    </Style>
    
    <!--副标题-->
    <!--基样式-->
    <Style x:Key="SmallBaseStyle" BasedOn="{StaticResource LabelBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontWeight" Value="{DynamicResource SmallFontWeight}"/>
        <Setter Property="Foreground" Value="{DynamicResource SmallForeground}"/>
        <Setter Property="Margin" Value="{DynamicResource SmallMargin}"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
    </Style>
    <Style x:Key="h1 small" BasedOn="{StaticResource SmallBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{DynamicResource H1SmallFontSize}"/>
    </Style>
    <Style x:Key="h2 small" BasedOn="{StaticResource SmallBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{DynamicResource H2SmallFontSize}"/>
    </Style>
    <Style x:Key="h3 small" BasedOn="{StaticResource SmallBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{DynamicResource H3SmallFontSize}"/>
    </Style>
    <Style x:Key="h4 small" BasedOn="{StaticResource SmallBaseStyle}" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{DynamicResource H4SmallFontSize}"/>
    </Style>
    <Style x:Key="h5 small" BasedOn="{StaticResource SmallBaseStyle}" TargetType="{x:Type Label}">
后面还有 110 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。