aboutsummaryrefslogtreecommitdiffstats
path: root/WarframeClock/PlainsTimeOverlayItem.xaml
blob: d4fe7df9b9a26872a1134c335f0cda6af6a2656b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<UserControl x:Class="WarframeClock.PlainsTimeOverlayItem"
             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:WarframeClock"
             mc:Ignorable="d"
             d:DataContext="{d:DesignInstance local:PlainsTimeOverlayItemViewModel, IsDesignTimeCreatable=True}"
             d:DesignHeight="450" d:DesignWidth="800">
    <TextBlock FontFamily="{Binding DataContext.FontFamily, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}"
               VerticalAlignment="Center">
        <Run Text="{Binding Remaining, Mode=OneWay}"
             Foreground="White"
             FontSize="{Binding DataContext.FontSize, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}"/>
    </TextBlock>
</UserControl>