You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
2.3 KiB
Plaintext
48 lines
2.3 KiB
Plaintext
|
4 days ago
|
<UserControl x:Class="Txgy.Controls.CalendarClock2row"
|
||
|
3 years ago
|
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>
|
||
|
4 days ago
|
<ColumnDefinition Width="132" MinWidth="132" />
|
||
|
|
<ColumnDefinition Width="188" MinWidth="188" />
|
||
|
3 years ago
|
</Grid.ColumnDefinitions>
|
||
|
|
<Grid.RowDefinitions>
|
||
|
4 days ago
|
<RowDefinition Height="34" />
|
||
|
|
<RowDefinition Height="34" />
|
||
|
3 years ago
|
</Grid.RowDefinitions>
|
||
|
|
<Label x:Name="lblTime"
|
||
|
4 days ago
|
Grid.RowSpan="2"
|
||
|
3 years ago
|
Content="00:33:15"
|
||
|
4 days ago
|
FontSize="28"
|
||
|
3 years ago
|
Background="{x:Null}"
|
||
|
|
BorderThickness="0"
|
||
|
4 days ago
|
Foreground="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local:CalendarClock2row}, Path=ForegroundColor, Converter={StaticResource ctb}}" />
|
||
|
3 years ago
|
<Label x:Name="lblGL"
|
||
|
4 days ago
|
Grid.Column="1"
|
||
|
3 years ago
|
Content="公历 2022年4月11日"
|
||
|
4 days ago
|
FontSize="16"
|
||
|
3 years ago
|
Background="{x:Null}"
|
||
|
|
BorderThickness="0"
|
||
|
4 days ago
|
Foreground="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local:CalendarClock2row}, Path=ForegroundColor, Converter={StaticResource ctb}}" />
|
||
|
3 years ago
|
<Label x:Name="lblNL"
|
||
|
|
Grid.Row="1"
|
||
|
|
Grid.Column="1"
|
||
|
|
Content="农历 4月11日 星期日"
|
||
|
4 days ago
|
FontSize="16"
|
||
|
3 years ago
|
Background="{x:Null}"
|
||
|
|
BorderThickness="0"
|
||
|
4 days ago
|
Foreground="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local:CalendarClock2row}, Path=ForegroundColor, Converter={StaticResource ctb}}" />
|
||
|
3 years ago
|
</Grid>
|
||
|
|
</UserControl>
|