aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2019-11-05 15:15:04 +0200
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2019-11-05 15:15:04 +0200
commit9561a5b3d930d5a52e70f97d5fe9d63d4bb1e067 (patch)
tree4a49203f2bc4ec81103fdbaaf4bddee0c684b51a /Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml
parent9a161f10d1e6b50a3acbe95beddc9387fb56f108 (diff)
downloadTango-9561a5b3d930d5a52e70f97d5fe9d63d4bb1e067.tar.gz
Tango-9561a5b3d930d5a52e70f97d5fe9d63d4bb1e067.zip
Implemented TouchClickableControl for PPC notifications.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml9
1 files changed, 2 insertions, 7 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml
index 890d3863b..586fa987b 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml
@@ -238,15 +238,10 @@
<touch:TouchNotificationBar.NotificationTemplate>
<DataTemplate>
<components:Ripple Padding="0">
- <Grid Background="Transparent">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="PreviewMouseUp">
- <i:InvokeCommandAction Command="{Binding PressedCommand}" />
- </i:EventTrigger>
- </i:Interaction.Triggers>
+ <touch:TouchClickableControl Command="{Binding PressedCommand}">
<ContentControl Content="{Binding Converter={StaticResource ItemBaseConverter}}"/>
<touch:TouchIconButton Visibility="{Binding CanClose,Converter={StaticResource BooleanToVisibilityConverter}}" DockPanel.Dock="Right" Background="Transparent" Padding="35" Style="{StaticResource TangoRoundTouchIconButton}" Command="{Binding CloseCommand}" CommandParameter="{Binding}" HorizontalAlignment="Right" MaxHeight="90" Width="{Binding RelativeSource={RelativeSource Self},Path=ActualHeight}" Icon="Close" Foreground="{StaticResource TangoDarkForegroundBrush}" />
- </Grid>
+ </touch:TouchClickableControl>
</components:Ripple>
</DataTemplate>
</touch:TouchNotificationBar.NotificationTemplate>