Files
EgtDOORCreator/ProjectManager/ProjectManagerHardwareV.xaml
2021-05-26 15:27:51 +02:00

76 lines
3.9 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" IsEnabled="{Binding EnableProjectManagerHardware}" Height="32">
<!--Barra superiore dei comandi-->
<!--nuovo brand-->
<Button Command="{Binding NewDirCommand}" ToolTip="{Binding NewDirToolTip}" Focusable="False">
<Image Source="/Resources/TopCommandBar/NewDir.png" Stretch="Uniform"/>
</Button>
<!--nuovo template-->
<Button Command="{Binding NewCommand}" ToolTip="{Binding NewToolTip}" Focusable="False">
<Image Source="/Resources/TopCommandBar/NewFile.png" Stretch="Uniform"/>
</Button>
<!--salva-->
<Button Command="{Binding SaveCommand}" ToolTip="{Binding SaveToolTip}" Focusable="False">
<!--<Image Source="{Binding IsModifiedImage}" Stretch="Uniform"/>-->
<Image Source="/Resources/TopCommandBar/Save.png" Stretch="Uniform"/>
</Button>
<!--duplica-->
<Button Command="{Binding DuplicaCommand}" ToolTip="{Binding DuplicaToolTip}" Focusable="False">
<ContentControl>
<Image Source="/Resources/TopCommandBar/DuplicaFile.png" Stretch="Uniform" />
</ContentControl>
</Button>
<!--elimina-->
<Button Command="{Binding DeleteCommand}" ToolTip="{Binding DeleteToolTip}" Focusable="False"
Visibility="{Binding DisableDeleteCommandHM}">
<ContentControl>
<Image Source="/Resources/TopCommandBar/Delete.png" Stretch="Uniform" />
</ContentControl>
</Button>
<!--Aaggiorna-->
<Button Command="{Binding RefreshDirCommand}" ToolTip="{Binding RefreshDirToolTip}" Focusable="False">
<Image Source="/Resources/Refresh/RefreshDir.png" Stretch="Uniform"/>
</Button>
<!--go back door--><!--
<Button Command="{Binding DoorCommand}" ToolTip="{Binding DoorToolTip}" Focusable="False">
<ContentControl>
<Image Source="/Resources/TopCommandBar/Door.png" Stretch="Uniform" />
</ContentControl>
</Button>-->
<!--<Button Command="{Binding DimensionCommand}" ToolTip="{Binding DimensionToolTip}" Focusable="False">
<ContentControl>
<Image Source="/Resources/TopCommandBar/HPart.png" Stretch="Uniform" Width="25" Height="17" RenderTransformOrigin="0.497,0.509" />
</ContentControl>
</Button>-->
<!--Opzioni-->
<Button Command="{Binding OptionsCommand}" ToolTip="{Binding OptionsToolTip}" Focusable="False"
Width="{Binding RelativeSource={RelativeSource Self}, Path=ActualHeight}">
<Image Source="/Resources/TopCommandBar/Options.png" Height="22" />
</Button>
<!--feed back-->
<Button Command="{Binding SendFeedbackCommand}" ToolTip="{Binding SendFeedbackToolTip}" Focusable="False">
<Image Source="/Resources/TopCommandBar/Send.png" Height="22" Margin="3,0,3,0" />
</Button>
<!--help-->
<Button Command="{Binding GuideCommand}" ToolTip="{Binding GuideToolTip}" Focusable="False">
<ContentControl>
<Image Source="/Resources/TopCommandBar/Help.png" Stretch="Uniform" />
</ContentControl>
</Button>
<!--Door-->
<RadioButton Style="{StaticResource ModeButton}"
Command="{Binding DoorCommand}" ToolTip="{Binding DoorToolTip}"
Content="{Binding DoorToolTip}">
</RadioButton>
<!--Hardware-->
<RadioButton Style="{StaticResource ModeButton}"
ToolTip="{Binding HardwareToolTip}"
IsChecked="{Binding HardwareIsChecked}"
Content="{Binding HardwareToolTip}">
</RadioButton>
</StackPanel>
</UserControl>