LiveContainer.xaml 1.3 KB

123456789101112131415161718192021222324252627
  1. <UserControl x:Class="HistoryDLL.LiveContainer"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:HistoryDLL"
  7. mc:Ignorable="d" >
  8. <Grid x:Name="uxLiveContainerMainGrid">
  9. <Grid.Resources>
  10. <Style TargetType="{x:Type Border}">
  11. <Setter Property="BorderBrush" Value="Transparent" />
  12. <Setter Property="BorderThickness" Value="5" />
  13. <Setter Property="CornerRadius" Value="5" />
  14. </Style>
  15. </Grid.Resources>
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="6*"></RowDefinition>
  18. <RowDefinition Height="1*"></RowDefinition>
  19. </Grid.RowDefinitions>
  20. <Border Grid.Row="0" x:Name="uxUpSide"></Border>
  21. <Border Grid.Row="1" x:Name="uxDownSide" Height="77" >
  22. <TextBlock x:Name="uxYearStr" TextTrimming="CharacterEllipsis" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="40" ></TextBlock>
  23. </Border>
  24. </Grid>
  25. </UserControl>