diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-26 18:02:02 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-26 18:02:02 +0200 |
| commit | d3b9770dd5e1d34e9433a115cbed5ef1a53546f6 (patch) | |
| tree | 0c3a48ae71edc947956c10fea8a411ad80564f34 /Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml | |
| parent | 6fb22273d15ed476ccbd3820de6af9bc0deee793 (diff) | |
| download | Tango-d3b9770dd5e1d34e9433a115cbed5ef1a53546f6.tar.gz Tango-d3b9770dd5e1d34e9433a115cbed5ef1a53546f6.zip | |
Working on PPC event notifications.
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 | 2 |
1 files changed, 1 insertions, 1 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 4ca7e39ec..8d438aa8f 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml @@ -32,7 +32,7 @@ <DataTemplate> <touch:TouchButton Style="{StaticResource TangoFlatButton}" Padding="0" Command="{Binding PressedCommand}" components:TransformationHelper.TransformWhenPressed="False"> <DockPanel> - <touch:TouchIconButton DockPanel.Dock="Right" 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" /> + <touch:TouchIconButton Visibility="{Binding CanClose,Converter={StaticResource BooleanToVisibilityConverter}}" DockPanel.Dock="Right" 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" /> <ContentControl Content="{Binding Converter={StaticResource ItemBaseConverter}}"/> </DockPanel> </touch:TouchButton> |
