-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClockMonitor.xaml
More file actions
21 lines (21 loc) · 1.29 KB
/
ClockMonitor.xaml
File metadata and controls
21 lines (21 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Window x:Class="SimpleUsefulTimer.ClockMonitor"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:SimpleUsefulTimer"
mc:Ignorable="d"
SizeToContent="WidthAndHeight"
Name="ClockMonitorWindow" Topmost="True" Title="Clock" DataContext="{Binding RelativeSource={RelativeSource AncestorType=local:ClockControl}}" AllowsTransparency="True" Background="Transparent" WindowStyle="None" Closing="ClockMonitorWindow_Closing" MouseRightButtonUp="ClockMonitorWindow_MouseRightButtonUp" MouseDown="ClockMonitorWindow_MouseDown">
<StackPanel Name="ClockViewContainer" Orientation="Horizontal" Background="{Binding ClockBackground}">
<TextBlock Background="{Binding ClockBackground}"
Name="ClockDisplay"
Text="{Binding Clock, UpdateSourceTrigger=PropertyChanged}"
FontFamily="{Binding ClockFont}"
FontSize="{Binding ClockFontSize, Mode=TwoWay}"
FontWeight="Bold"
Foreground="{Binding ClockForeground, Mode=OneWay}"
>
</TextBlock>
</StackPanel>
</Window>