<UserControl x:Class="Txgy.Controls.CalendarClock1row"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:Txgy.Controls"
             xmlns:converter="clr-namespace:Txgy.Controls.Converters"
             FontFamily="Microsoft YaHei"
             mc:Ignorable="d">
    <UserControl.Resources>
        <ResourceDictionary>
            <converter:ColorToBrushConverter x:Key="ctb" />
        </ResourceDictionary>

    </UserControl.Resources>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Label x:Name="lblTime"
               Grid.ColumnSpan="2"
               Content="00:33:15"
               FontSize="30"
               Background="{x:Null}"
               BorderThickness="0"
               Foreground="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local:CalendarClock1row}, Path=ForegroundColor, Converter={StaticResource ctb}}" />
        <Label x:Name="lblGL"
               Grid.Row="1"
               Margin="0,0,5,0"
               d:Content="公历 2022年4月11日"
               Content="{Binding }"
               FontSize="18"
               Background="{x:Null}"
               BorderThickness="0"
               Foreground="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local:CalendarClock1row}, Path=ForegroundColor, Converter={StaticResource ctb}}" />
        <Label x:Name="lblNL"
               Grid.Row="1"
               Grid.Column="1"
               Margin="5,0,0,0"
               d:Content="农历 4月11日 星期日"
               Content="{Binding }"
               FontSize="18"
               Background="{x:Null}"
               BorderThickness="0"
               Foreground="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local:CalendarClock1row}, Path=ForegroundColor, Converter={StaticResource ctb}}" />
    </Grid>
</UserControl>
