blob: c4533b8439c11eda6ef6eff4c1f6c61ed809ce6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<UserControl x:Class="Tango.PPC.UI.Notifications.NotificationItems.UpdateAvailableNotificationItemView"
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:touch="clr-namespace:Tango.Touch.Controls;assembly=Tango.Touch"
xmlns:local="clr-namespace:Tango.PPC.UI.Notifications.NotificationItems"
xmlns:common="clr-namespace:Tango.PPC.Common.Converters"
mc:Ignorable="d"
x:Name="MessageNotificationItemControl"
d:DesignHeight="60" d:DesignWidth="800" d:DataContext="{d:DesignInstance Type=local:UpdateAvailableNotificationItem, IsDesignTimeCreatable=False}" MinHeight="90" Height="90" MaxHeight="150" Background="White">
<Grid>
<Border BorderThickness="0 0 0 2" BorderBrush="{StaticResource TangoPrimaryAccentBrush}" Padding="15">
<DockPanel>
<Image Source="/Images/update_available.png" MaxHeight="50" />
<TextBlock Margin="20 0 0 0" VerticalAlignment="Center">
<Run>Version</Run>
<Run Foreground="{StaticResource TangoPrimaryAccentBrush}" FontWeight="SemiBold" Text="{Binding Version,FallbackValue='1.0.0.0',TargetNullValue='1.0.0.0'}"></Run>
<Run>is available!</Run>
<Run>Tap to start updating your system.</Run>
</TextBlock>
</DockPanel>
</Border>
</Grid>
</UserControl>
|