TimerWatch.xaml 1013 B

123456789101112131415
  1. <UserControl x:Class="HistoryView.Controls.Basics.TimerWatch"
  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:HistoryView.Controls.Basics"
  7. mc:Ignorable="d"
  8. x:Name="This"
  9. d:DesignHeight="450" d:DesignWidth="800">
  10. <StackPanel Orientation="{Binding ElementName=This, Path=Orientation}" VerticalAlignment="Center" HorizontalAlignment="Center">
  11. <TextBlock x:Name="Date" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="{Binding ElementName=This, Path=TextBrush}"/>
  12. <TextBlock x:Name="Time" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="{Binding ElementName=This, Path=TextBrush}"/>
  13. </StackPanel>
  14. </UserControl>