Files
EgtDOORCreator/SceneManager/RefreshPanel/RefreshPanelV.xaml
T
Dario Sassi cc05b56b56 EgtDOORCreator :
- correzioni varie
- icone per tipo vista in assemblato e per errore.
2017-12-14 17:57:54 +00:00

39 lines
2.0 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 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>