e2cdd82d63
-> correzione apertura ddf in modalità assemblato -> conversione di porte in assembalto -> gestione dei materiali e delle proprietà
45 lines
2.4 KiB
XML
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" IsEnabled="{Binding EnableRefreschPanel}">
|
|
<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>
|