Files
EgtDOORCreator/SceneManager/RefreshPanel/RefreshPanelV.xaml
T
Nicola Pievani c207c6f583 EgtDOORCreator 2.1j1 :
-> ho tolto dalla OptionPage il tab che si riferisce alle dimensioni dell'Hardware e ho ripristinato il bottone nella barra dei comandi della grafica;
-> ho sostituito i bottoni "Hardware" e "Door" con due RadioButton, cambiata anche la posizione;
-> ho aggiornato le icone "SaveAs" e "HardwarePart".
2019-10-15 07:51:28 +00:00

45 lines
2.4 KiB
XML

<UserControl x:Class="RefreshPanelV"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<StackPanel Background="Transparent" Orientation="Horizontal">
<Button ToolTip="{Binding RefreshToolTip}" Width="Auto"
Command="{Binding Refresh_Command}">
<Image Source="/Resources/Refresh/Refresh.png" Stretch="Uniform" Height="22"/>
</Button>
<Button Command="{Binding Dimension_Command}" Visibility="{Binding DimensionVisibility}"
ToolTip="{Binding DimensionToolTip}" Focusable="False">
<ContentControl>
<Image Source="/Resources/Template/TemplateDoor1.png" Stretch="Uniform" Width="25" RenderTransformOrigin="0.497,0.509" />
</ContentControl>
</Button>
<Button Visibility="{Binding ErrorVisibility}"
Command="{Binding ShowError_Command}">
<Image Source="/Resources/Refresh/Error.png" Stretch="Uniform" Height="22"/>
</Button>
<!--Command="{Binding DataContext.RefreshBtnCommand,RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"-->
<RadioButton ToolTip="Assembly View" Width="Auto"
GroupName="AssemblyView"
Visibility="{Binding ButtonVisibility}"
IsChecked="{Binding AssemblyIsChecked}"
Style="{StaticResource GridViewPanelRadioButton}">
<Image Source="/Resources/Refresh/Assembly.png" Stretch="Uniform" Height="22"/>
</RadioButton>
<RadioButton ToolTip="Exploded View" Width="Auto"
GroupName="AssemblyView"
Visibility="{Binding ButtonVisibility}"
IsChecked="{Binding ExplodedIsChecked}"
Style="{StaticResource GridViewPanelRadioButton}">
<Image Source="/Resources/Refresh/Exploded.png" Stretch="Uniform" Height="22"/>
</RadioButton>
<RadioButton ToolTip="Disposition View" Width="Auto"
GroupName="AssemblyView"
Visibility="{Binding ButtonVisibility}"
IsChecked="{Binding DisposedIsChecked}"
Style="{StaticResource GridViewPanelRadioButton}">
<Image Source="/Resources/Refresh/Disposed.png" Stretch="Uniform" Height="22"/>
</RadioButton>
</StackPanel>
</UserControl>