diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2018-07-14 21:27:57 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2018-07-14 21:27:57 +0300 |
| commit | 64bcf92608faae31b7cd31ac3da5c7d1d7ebcd0b (patch) | |
| tree | 2dea80413ecffe5aa5d44b1d73d98f1f735e5916 /Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml | |
| parent | 7f20e0b3199b469197364cb72436a4843b68b114 (diff) | |
| download | Tango-64bcf92608faae31b7cd31ac3da5c7d1d7ebcd0b.tar.gz Tango-64bcf92608faae31b7cd31ac3da5c7d1d7ebcd0b.zip | |
Implemented job completed notification item.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml index dcb19dbee..f333ea2e8 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml @@ -27,10 +27,12 @@ CurrentDialog="{Binding NotificationProvider.CurrentDialog}"> <touch:TouchPanel.NotificationTemplate> <DataTemplate> - <Grid> - <ContentControl Content="{Binding Converter={StaticResource NotificationItemConverter}}" /> - <touch:TouchIconButton Background="Transparent" Padding="20" Style="{StaticResource TangoRoundTouchIconButton}" Command="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.NotificationProvider.PopNotificationCommand}" CommandParameter="{Binding}" HorizontalAlignment="Right" MaxHeight="60" Width="{Binding RelativeSource={RelativeSource Self},Path=ActualHeight}" Icon="Close" Foreground="White" /> - </Grid> + <touch:TouchButton Style="{StaticResource TangoFlatButton}" Padding="0" Command="{Binding PressedCommand}"> + <Grid> + <ContentControl Content="{Binding Converter={StaticResource NotificationItemConverter}}" /> + <touch:TouchIconButton Background="Transparent" Padding="20" Style="{StaticResource TangoRoundTouchIconButton}" Command="{Binding CloseCommand}" CommandParameter="{Binding}" HorizontalAlignment="Right" MaxHeight="60" Width="{Binding RelativeSource={RelativeSource Self},Path=ActualHeight}" Icon="Close" Foreground="White" /> + </Grid> + </touch:TouchButton> </DataTemplate> </touch:TouchPanel.NotificationTemplate> |
