<UserControl
    x:Class="Txgy.Controls.CalendarClock2row"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:converter="clr-namespace:Txgy.Controls.Converters"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:Txgy.Controls"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="Microsoft YaHei"
    mc:Ignorable="d">
    <UserControl.Resources>
        <ResourceDictionary>
            <converter:ColorToBrushConverter x:Key="ctb" />
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="132" MinWidth="132" />
            <ColumnDefinition Width="188" MinWidth="188" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="34" />
            <RowDefinition Height="34" />
        </Grid.RowDefinitions>
        <Label
            x:Name="lblTime"
            Grid.RowSpan="2"
            Background="{x:Null}"
            BorderThickness="0"
            Content="00:33:15"
            FontSize="28"
            Foreground="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local:CalendarClock2row}, Path=ForegroundColor, Converter={StaticResource ctb}}" />
        <Label
            x:Name="lblGL"
            Grid.Column="1"
            Background="{x:Null}"
            BorderThickness="0"
            Content="公历 2022年4月11日"
            FontSize="16"
            Foreground="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local:CalendarClock2row}, Path=ForegroundColor, Converter={StaticResource ctb}}" />
        <Label
            x:Name="lblNL"
            Grid.Row="1"
            Grid.Column="1"
            Background="{x:Null}"
            BorderThickness="0"
            Content="农历 4月11日 星期日"
            FontSize="16"
            Foreground="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local:CalendarClock2row}, Path=ForegroundColor, Converter={StaticResource ctb}}" />
    </Grid>
</UserControl>
