Files
EgtDOORCreator/ProjectManager/ProjectManagerHardwareV.xaml
T
Nicola Pievani 01d1d6fdba EgtDOORCreator 1.9c5 :
- il bottone Delete nella pagina HardwareManager è configurabile da file Config.ini "DisableDeleteCommandHM=0".
2018-03-20 15:18:45 +00:00

43 lines
2.2 KiB
XML

<UserControl x:Class="ProjectManagerHardwareV"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<StackPanel Orientation="Horizontal">
<!--Barra superiore dei comandi-->
<Button Command="{Binding NewCommand}" ToolTip="{Binding NewToolTip}" Focusable="False">
<Image Source="/Resources/TopCommandBar/New_.png" Stretch="Uniform"/>
</Button>
<Button Command="{Binding SaveCommand}" ToolTip="{Binding SaveToolTip}" Focusable="False">
<Image Source="/Resources/TopCommandBar/Save.png" Stretch="Uniform"/>
</Button>
<Button Command="{Binding DuplicaCommand}" ToolTip="{Binding DuplicaToolTip}" Focusable="False">
<ContentControl>
<Image Source="/Resources/TopCommandBar/DuplicaFile.png" Stretch="Uniform" />
</ContentControl>
</Button>
<Button Command="{Binding DeleteCommand}" ToolTip="{Binding DeleteToolTip}" Focusable="False"
Visibility="{Binding DisableDeleteCommandHM}">
<ContentControl>
<Image Source="/Resources/TopCommandBar/Delete.png" Stretch="Uniform" />
</ContentControl>
</Button>
<Button Command="{Binding OptionsCommand}" ToolTip="{Binding OptionsToolTip}" Focusable="False">
<Image Source="/Resources/TopCommandBar/Options.png" Height="22" />
</Button>
<Button Command="{Binding SendFeedbackCommand}" ToolTip="{Binding SendFeedbackToolTip}" Focusable="False">
<Image Source="/Resources/TopCommandBar/Send.png" Height="22" Margin="3,0,3,0" />
</Button>
<Button Command="{Binding GuideCommand}" ToolTip="{Binding GuideToolTip}" Focusable="False">
<ContentControl>
<Image Source="/Resources/TopCommandBar/Help.png" Stretch="Uniform" />
</ContentControl>
</Button>
<Button Command="{Binding DoorCommand}" ToolTip="{Binding}" Focusable="False">
<ContentControl>
<Image Source="/Resources/TopCommandBar/Door.png" Stretch="Uniform" />
</ContentControl>
</Button>
</StackPanel>
</UserControl>